summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authorAlexander Preisinger <alexander.preisinger@gmail.com>2013-09-24 19:15:55 +0200
committerAlexander Preisinger <alexander.preisinger@gmail.com>2013-10-20 09:25:28 +0200
commit6a4e59677e1d0e4b5c6df8a25c3c9a55ac97e25f (patch)
treef45ce26653cac590dcb8562237ec7c0df1df5e35 /video/out/wayland_common.h
parentbbb1057d0667ea1d87b615792c5e1536f4248cd2 (diff)
downloadmpv-6a4e59677e1d0e4b5c6df8a25c3c9a55ac97e25f.tar.bz2
mpv-6a4e59677e1d0e4b5c6df8a25c3c9a55ac97e25f.tar.xz
wayland: use mp_input_test_dragging
Instead of removing dragging we now test if it we should drag the window or not. Because if the OSC shows up we can not drag the window because that would cause mouse events that makes the OSC disappear.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r--video/out/wayland_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h
index 71f4a7481a..483c0ef1dd 100644
--- a/video/out/wayland_common.h
+++ b/video/out/wayland_common.h
@@ -71,6 +71,8 @@ struct vo_wayland_state {
float aspect;
struct wl_surface *surface;
+ int32_t surf_x;
+ int32_t surf_y;
struct wl_shell_surface *shell_surface;
int events; /* mplayer events (VO_EVENT_RESIZE) */
} window;