diff src/video/wincommon/SDL_sysevents.c @ 829:77bca0665b69

Fixed mouse focus events after resetting video mode on Windows
author Sam Lantinga <slouken@libsdl.org>
date Sun, 15 Feb 2004 22:50:28 +0000
parents 7d7e19b59866
children 31fa08b36380
line wrap: on
line diff
--- a/src/video/wincommon/SDL_sysevents.c	Sun Feb 15 22:04:46 2004 +0000
+++ b/src/video/wincommon/SDL_sysevents.c	Sun Feb 15 22:50:28 2004 +0000
@@ -286,9 +286,9 @@
 				/* 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 */