mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-10 18:29:44 +00:00
Fix window redraw on macOS when un-minimizing.
This commit is contained in:
parent
2bdbd22e85
commit
c9717bf331
@ -1835,7 +1835,7 @@ static void handle_events(void)
|
||||
// Application activate/deactivate
|
||||
case SDL_ACTIVEEVENT:
|
||||
// Force a complete window refresh when activating, to avoid redraw artifacts otherwise.
|
||||
if (event.active.gain && (event.active.state & SDL_APPACTIVE))
|
||||
if (event.active.gain)
|
||||
force_complete_window_refresh();
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user