mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-09-21 14:40:36 +02:00
Fixed grab handling when focus changes between windows in the same application
This commit is contained in:
parent
d9c44b6537
commit
bfd2f8993f
@ -663,6 +663,14 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_SETFOCUS:
|
||||
case WM_KILLFOCUS:
|
||||
{
|
||||
/* Update the focus in case it's changing between windows in the same application */
|
||||
WIN_UpdateFocus(data->window);
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_POINTERUPDATE:
|
||||
{
|
||||
data->last_pointer_update = lParam;
|
||||
|
Loading…
Reference in New Issue
Block a user