summaryrefslogtreecommitdiffstats
path: root/video/out/x11_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/x11_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/x11_common.c')
-rw-r--r--video/out/x11_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index ab55d6322a..46bf8c18d6 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -1547,7 +1547,7 @@ int vo_x11_control(struct vo *vo, int *events, int request, void *arg)
vo_x11_border(vo);
*events |= VO_EVENT_RESIZE;
return VO_TRUE;
- case VOCTRL_GET_WINDOW_SIZE: {
+ case VOCTRL_GET_UNFS_WINDOW_SIZE: {
int *s = arg;
if (!x11->window)
return VO_FALSE;
@@ -1555,7 +1555,7 @@ int vo_x11_control(struct vo *vo, int *events, int request, void *arg)
s[1] = x11->fs ? RC_H(x11->nofsrc) : RC_H(x11->winrc);
return VO_TRUE;
}
- case VOCTRL_SET_WINDOW_SIZE: {
+ case VOCTRL_SET_UNFS_WINDOW_SIZE: {
int *s = arg;
if (!x11->window)
return VO_FALSE;