Fixed mouse focus events after resetting video mode on Windows
authorSam Lantinga <slouken@libsdl.org>
Sun, 15 Feb 2004 22:50:28 +0000
changeset 82977bca0665b69
parent 828 85ba077211bc
child 830 58b074c1bc59
Fixed mouse focus events after resetting video mode on Windows
src/video/wincommon/SDL_sysevents.c
     1.1 --- a/src/video/wincommon/SDL_sysevents.c	Sun Feb 15 22:04:46 2004 +0000
     1.2 +++ b/src/video/wincommon/SDL_sysevents.c	Sun Feb 15 22:50:28 2004 +0000
     1.3 @@ -286,9 +286,9 @@
     1.4  				/* mouse has left the window */
     1.5  				/* or */
     1.6  				/* Elvis has left the building! */
     1.7 -				in_window = FALSE;
     1.8  				posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
     1.9  			}
    1.10 +			in_window = FALSE;
    1.11  		}
    1.12  		return(0);
    1.13  #endif /* WM_MOUSELEAVE */