mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-11 13:31:37 +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
|
// Application activate/deactivate
|
||||||
case SDL_ACTIVEEVENT:
|
case SDL_ACTIVEEVENT:
|
||||||
// Force a complete window refresh when activating, to avoid redraw artifacts otherwise.
|
// 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();
|
force_complete_window_refresh();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user