1
0
Fork 0

Add patch 285 from MHM to fix bug 367, mimics the normal event.gain code

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4326
This commit is contained in:
Peter Veenstra 2020-02-14 21:52:10 +00:00
parent 4d4c738ca7
commit 9912151a89

View file

@ -2073,6 +2073,8 @@ void GFX_Events() {
if (ev.active.gain) {
paused = false;
GFX_SetTitle(-1,-1,false);
SetPriority(sdl.priority.focus);
CPU_Disable_SkipAutoAdjust();
}
/* Now poke a "release ALT" command into the keyboard buffer