Commit 616bd262 authored by David Fuhrmann's avatar David Fuhrmann

macosx vout: shift the window above the lower screen bound when necessary

(cherry picked from commit d612827c)
Signed-off-by: default avatarDavid Fuhrmann <david.fuhrmann@googlemail.com>
parent 2ab590e6
......@@ -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];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment