From c75f2922ce49cedf811e41c3b609b8e803434d4e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 15 Feb 2004 22:50:28 +0000 Subject: [PATCH] Fixed mouse focus events after resetting video mode on Windows --- src/video/wincommon/SDL_sysevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/wincommon/SDL_sysevents.c b/src/video/wincommon/SDL_sysevents.c index 84d2448d5..b673956bc 100644 --- a/src/video/wincommon/SDL_sysevents.c +++ b/src/video/wincommon/SDL_sysevents.c @@ -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 */