From e267ff93f32783e324c93395ab135e5b26f0efe1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 4 Sep 2014 22:53:50 +0200 Subject: video: rename VOCTRL_GET_WINDOW_SIZE Make it clear that this accesses the un-fullscreened window size. --- video/out/wayland_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out/wayland_common.c') 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]); -- cgit v1.2.3