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/cocoa_common.m | |
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/cocoa_common.m')
-rw-r--r-- | video/out/cocoa_common.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index a1ea157482..dc7a195442 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -656,7 +656,7 @@ int vo_cocoa_control(struct vo *vo, int *events, int request, void *arg) case VOCTRL_ONTOP: vo_cocoa_ontop(vo); return VO_TRUE; - case VOCTRL_GET_WINDOW_SIZE: { + case VOCTRL_GET_UNFS_WINDOW_SIZE: { int *s = arg; dispatch_on_main_thread(vo, ^{ NSSize size = [vo->cocoa->view frame].size; @@ -665,7 +665,7 @@ int vo_cocoa_control(struct vo *vo, int *events, int request, void *arg) }); return VO_TRUE; } - case VOCTRL_SET_WINDOW_SIZE: { + case VOCTRL_SET_UNFS_WINDOW_SIZE: { dispatch_on_main_thread(vo, ^{ int *s = arg; [vo->cocoa->window queueNewVideoSize:NSMakeSize(s[0], s[1])]; |