summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-04 22:53:50 +0200
committerwm4 <wm4@nowhere>2014-09-05 01:52:16 +0200
commite267ff93f32783e324c93395ab135e5b26f0efe1 (patch)
tree8a73106d88850bb466f85f9cc36ba5f158c4111f /video/out/wayland_common.c
parentc15957b43a715563d405f42ec38c6c0ed1d477f9 (diff)
downloadmpv-e267ff93f32783e324c93395ab135e5b26f0efe1.tar.bz2
mpv-e267ff93f32783e324c93395ab135e5b26f0efe1.tar.xz
video: rename VOCTRL_GET_WINDOW_SIZE
Make it clear that this accesses the un-fullscreened window size.
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r--video/out/wayland_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index 614f9fd770..842e649812 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -1146,13 +1146,13 @@ int vo_wayland_control (struct vo *vo, int *events, int request, void *arg)
case VOCTRL_ONTOP:
vo_wayland_ontop(vo);
return VO_TRUE;
- case VOCTRL_GET_WINDOW_SIZE: {
+ case VOCTRL_GET_UNFS_WINDOW_SIZE: {
int *s = arg;
s[0] = wl->window.width;
s[1] = wl->window.height;
return VO_TRUE;
}
- case VOCTRL_SET_WINDOW_SIZE: {
+ case VOCTRL_SET_UNFS_WINDOW_SIZE: {
int *s = arg;
if (!wl->window.is_fullscreen)
schedule_resize(wl, 0, s[0], s[1]);