Commit c2fed7e0 authored by Pierre's avatar Pierre

vout_macosx: Backport 9c21b7ec. (Suppress flashes in Split Views).

parent cf643b1c
......@@ -476,6 +476,17 @@ static void OpenglSwap(vout_opengl_t *gl)
[self unlockgl];
}
- (void)renewGState
{
NSWindow *window = [self window];
// Remove flashes with splitter view.
if ([window respondsToSelector:@selector(disableScreenUpdatesUntilFlush)])
[window disableScreenUpdatesUntilFlush];
[super renewGState];
}
- (BOOL)mouseDownCanMoveWindow
{
return YES;
......
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