Fix window focus propagating to all windows when application is focused
This commit is contained in:
@@ -1251,7 +1251,7 @@ LRESULT WindowsWindow::WndProc(UINT msg, WPARAM wParam, LPARAM lParam)
|
|||||||
OnLostFocus();
|
OnLostFocus();
|
||||||
UpdateCursor();
|
UpdateCursor();
|
||||||
break;
|
break;
|
||||||
case WM_ACTIVATEAPP:
|
case WM_ACTIVATE:
|
||||||
if (wParam == TRUE && !_focused)
|
if (wParam == TRUE && !_focused)
|
||||||
{
|
{
|
||||||
OnGotFocus();
|
OnGotFocus();
|
||||||
|
|||||||
Reference in New Issue
Block a user