mirror of
https://github.com/yawut/SDL.git
synced 2026-09-14 03:56:39 -05:00
Fixed mouse focus events after resetting video mode on Windows
This commit is contained in:
@@ -286,9 +286,9 @@ LONG CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
/* mouse has left the window */
|
||||
/* or */
|
||||
/* Elvis has left the building! */
|
||||
in_window = FALSE;
|
||||
posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
|
||||
}
|
||||
in_window = FALSE;
|
||||
}
|
||||
return(0);
|
||||
#endif /* WM_MOUSELEAVE */
|
||||
|
||||
Reference in New Issue
Block a user