From d612827ce2cd628732ef4937a15ec5a1f851995e Mon Sep 17 00:00:00 2001 From: David Fuhrmann Date: Wed, 21 Mar 2012 17:51:34 +0100 Subject: [PATCH] macosx vout: shift the window above the lower screen bound when necessary --- modules/video_output/macosx.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m index 777a6603c7..58961ea965 100644 --- a/modules/video_output/macosx.m +++ b/modules/video_output/macosx.m @@ -434,6 +434,8 @@ static int Control (vout_display_t *vd, int query, va_list ap) new_frame.size.height = screenFrame.size.height; new_frame.origin.y = screenFrame.origin.y; } + if( new_frame.origin.y < screenFrame.origin.y ) + new_frame.origin.y = screenFrame.origin.y; [sys->glView performSelectorOnMainThread:@selector(setWindowFrameWithValue:) withObject:[NSValue valueWithRect:new_frame] waitUntilDone:NO]; } -- 2.39.2