diff --git a/gui-osx/screen.c b/gui-osx/screen.c index 92c9e39..9f8f57f 100644 --- a/gui-osx/screen.c +++ b/gui-osx/screen.c @@ -300,7 +300,9 @@ leave_full_screen() Rectangle rect = { { 0, 0 }, { bounds.size.width, bounds.size.height} }; + drawqlock(); flushmemscreen(rect); + drawqunlock(); } } @@ -316,7 +318,9 @@ full_screen() Rectangle rect = { { 0, 0 }, { bounds.size.width, bounds.size.height} }; + drawqlock(); flushmemscreen(rect); + drawqunlock(); } } @@ -459,7 +463,9 @@ static OSStatus MainWindowCommandHandler(EventHandlerCallRef nextHandler, Rectangle rect = { { 0, 0 }, { bounds.size.width, bounds.size.height} }; + drawqlock(); flushmemscreen(rect); + drawqunlock(); break; default: