Commit 9c21b7ec authored by Sebastien Zwickert's avatar Sebastien Zwickert Committed by Pierre

gui/macosx: Fix ugly flashes of video view when the splitviews are resized.

Signed-off-by: Pierre's avatarPierre d'Herbemont <pdherbemont@free.fr>
parent bb8a0acc
......@@ -503,6 +503,18 @@ static void Unlock( vout_thread_t * p_vout )
Unlock( p_vout );
}
- (void) renewGState
{
NSWindow *window = [self window];
if ([window respondsToSelector:@selector(disableScreenUpdatesUntilFlush)])
{
[window disableScreenUpdatesUntilFlush];
}
[super renewGState];
}
@end
/*****************************************************************************
......
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