Commit d612827c authored by David Fuhrmann's avatar David Fuhrmann

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

parent 1cee2e3b
......@@ -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