diff options
author | wm4 <wm4@nowhere> | 2014-09-04 22:53:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-05 01:52:16 +0200 |
commit | e267ff93f32783e324c93395ab135e5b26f0efe1 (patch) | |
tree | 8a73106d88850bb466f85f9cc36ba5f158c4111f /video/out/w32_common.c | |
parent | c15957b43a715563d405f42ec38c6c0ed1d477f9 (diff) | |
download | mpv-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/w32_common.c')
-rw-r--r-- | video/out/w32_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index ed23727754..df2c53128f 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -1100,7 +1100,7 @@ static int gui_thread_control(struct vo_w32_state *w32, int *events, reinit_window_state(w32); *events |= VO_EVENT_RESIZE; return VO_TRUE; - case VOCTRL_GET_WINDOW_SIZE: { + case VOCTRL_GET_UNFS_WINDOW_SIZE: { int *s = arg; if (!w32->window_bounds_initialized) @@ -1110,7 +1110,7 @@ static int gui_thread_control(struct vo_w32_state *w32, int *events, s[1] = w32->current_fs ? w32->prev_height : w32->dh; return VO_TRUE; } - case VOCTRL_SET_WINDOW_SIZE: { + case VOCTRL_SET_UNFS_WINDOW_SIZE: { int *s = arg; if (!w32->window_bounds_initialized) |