summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authorAlexander Preisinger <alexander.preisinger@gmail.com>2014-06-15 14:46:27 +0200
committerAlexander Preisinger <alexander.preisinger@gmail.com>2014-06-15 14:46:27 +0200
commit73121dbcc164c69ab461996c233bc5f4634312c1 (patch)
tree4969d4ea829aecbda0a9283bb6a10d39785295a7 /video/out/wayland_common.h
parentf14b45588e7804388c2e2a98cbc5e91ce21942dd (diff)
downloadmpv-73121dbcc164c69ab461996c233bc5f4634312c1.tar.bz2
mpv-73121dbcc164c69ab461996c233bc5f4634312c1.tar.xz
wayland: move subsurfaces to wayland vo
Subsurfaces are only used by the wayland vo. Thats why it makes sense to move all osd and subsurface specific parts to the vo_wayland.c Also destroy the subsurfaces and subcompositor properly.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r--video/out/wayland_common.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h
index dbfa41140f..dc446bc6f3 100644
--- a/video/out/wayland_common.h
+++ b/video/out/wayland_common.h
@@ -27,8 +27,6 @@
#include "config.h"
-#include "sub/osd.h"
-
#if HAVE_GL_WAYLAND
#include <wayland-egl.h>
#include <EGL/egl.h>
@@ -104,9 +102,6 @@ struct vo_wayland_state {
int32_t mouse_y;
struct wl_shell_surface *shell_surface;
int events; /* mplayer events (VO_EVENT_RESIZE) */
-
- struct wl_surface *osd_surfaces[MAX_OSD_PARTS];
- struct wl_subsurface *osd_subsurfaces[MAX_OSD_PARTS];
} window;
struct {