summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authorAlexander Preisinger <alexander.preisinger@gmail.com>2013-10-25 10:27:58 +0200
committerAlexander Preisinger <alexander.preisinger@gmail.com>2013-10-25 10:30:12 +0200
commitcb3327fe48a35b20900c9ad47ddf4c17486a1e04 (patch)
tree36f4fda0ff43f332b2b209cd65ba1cfd5bcb47cd /video/out/wayland_common.h
parentbef2135a44ee07b68fe255c8ae4491b2e45e0895 (diff)
downloadmpv-cb3327fe48a35b20900c9ad47ddf4c17486a1e04.tar.bz2
mpv-cb3327fe48a35b20900c9ad47ddf4c17486a1e04.tar.xz
wayland: better name for mouse coordinates
I had to look up what the surf_x and surf_y members do. That means the name is not very good. Also a comment.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r--video/out/wayland_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h
index 956069707a..30fc9b72d2 100644
--- a/video/out/wayland_common.h
+++ b/video/out/wayland_common.h
@@ -73,8 +73,8 @@ struct vo_wayland_state {
bool is_fullscreen; // don't keep aspect ratio in fullscreen mode
struct wl_surface *surface;
- int32_t surf_x;
- int32_t surf_y;
+ int32_t mouse_x; // mouse position inside the surface
+ int32_t mouse_y;
struct wl_shell_surface *shell_surface;
int events; /* mplayer events (VO_EVENT_RESIZE) */
} window;