mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-28 04:49:18 +00:00
Merge pull request #16 from sicklittlemonkey/master
Fix F4 can exit app after Alt-Tab
This commit is contained in:
commit
02f8357935
@ -301,6 +301,9 @@ LRESULT CALLBACK win_event_handler(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM l
|
|||||||
}
|
}
|
||||||
DragFinish((HDROP)wParam);
|
DragFinish((HDROP)wParam);
|
||||||
break;
|
break;
|
||||||
|
case WM_KILLFOCUS:
|
||||||
|
adb_all_keys_up(); // ALT-TAB doesn't send key-up messages
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
switch(umsg) {
|
switch(umsg) {
|
||||||
HANDLE_MSG(hwnd, WM_KEYUP, WIN_EVENT_KEY);
|
HANDLE_MSG(hwnd, WM_KEYUP, WIN_EVENT_KEY);
|
||||||
|
Loading…
Reference in New Issue
Block a user