Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
828:85ba077211bc | 829:77bca0665b69 |
---|---|
284 /* Mouse is handled by DirectInput when fullscreen */ | 284 /* Mouse is handled by DirectInput when fullscreen */ |
285 if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) { | 285 if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) { |
286 /* mouse has left the window */ | 286 /* mouse has left the window */ |
287 /* or */ | 287 /* or */ |
288 /* Elvis has left the building! */ | 288 /* Elvis has left the building! */ |
289 in_window = FALSE; | |
290 posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS); | 289 posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS); |
291 } | 290 } |
291 in_window = FALSE; | |
292 } | 292 } |
293 return(0); | 293 return(0); |
294 #endif /* WM_MOUSELEAVE */ | 294 #endif /* WM_MOUSELEAVE */ |
295 | 295 |
296 case WM_LBUTTONDOWN: | 296 case WM_LBUTTONDOWN: |