mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-18 07:41:45 +00:00
Fixed detecting focus change to child dialogs
Fixes https://github.com/libsdl-org/SDL/issues/5157
This commit is contained in:
@@ -695,6 +695,7 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||||||
|
|
||||||
case WM_SETFOCUS:
|
case WM_SETFOCUS:
|
||||||
case WM_KILLFOCUS:
|
case WM_KILLFOCUS:
|
||||||
|
case WM_ENTERIDLE:
|
||||||
{
|
{
|
||||||
/* Update the focus in case it's changing between top-level windows in the same application */
|
/* Update the focus in case it's changing between top-level windows in the same application */
|
||||||
WIN_UpdateFocus(data->window);
|
WIN_UpdateFocus(data->window);
|
||||||
|
Reference in New Issue
Block a user