mirror of
https://github.com/david-schmidt/gsport.git
synced 2024-12-30 17:29:52 +00:00
Fix F4 can exit app after Alt-Tab
This commit is contained in:
parent
d83331d9ee
commit
8dda6fd620
@ -329,6 +329,9 @@ win_event_handler(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam)
|
||||
}
|
||||
DragFinish((HDROP)wParam);
|
||||
break;
|
||||
case WM_KILLFOCUS:
|
||||
adb_all_keys_up(); // ALT-TAB doesn't send key-up messages
|
||||
break;
|
||||
}
|
||||
switch(umsg) {
|
||||
HANDLE_MSG(hwnd, WM_KEYUP, WIN_EVENT_KEY);
|
||||
|
Loading…
Reference in New Issue
Block a user