comparison src/video/wincommon/SDL_sysevents.c @ 335:bc4d50d2edd9

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Wed, 10 Apr 2002 02:14:33 +0000
parents f2ba51f64d49
children 518ffd98a8f6
comparison
equal deleted inserted replaced
334:f65715bd8ad8 335:bc4d50d2edd9
188 case WM_ACTIVATE: { 188 case WM_ACTIVATE: {
189 SDL_VideoDevice *this = current_video; 189 SDL_VideoDevice *this = current_video;
190 BOOL minimized; 190 BOOL minimized;
191 Uint8 appstate; 191 Uint8 appstate;
192 192
193 if ( ! this->screen ) {
194 /* What do we do when we get the screen? */
195 return(0);
196 }
197 minimized = HIWORD(wParam); 193 minimized = HIWORD(wParam);
198 if ( !minimized && (LOWORD(wParam) != WA_INACTIVE) ) { 194 if ( !minimized && (LOWORD(wParam) != WA_INACTIVE) ) {
199 /* Gain the following states */ 195 /* Gain the following states */
200 appstate = SDL_APPACTIVE|SDL_APPINPUTFOCUS; 196 appstate = SDL_APPACTIVE|SDL_APPINPUTFOCUS;
201 if ( this->input_grab != SDL_GRAB_OFF ) { 197 if ( this->input_grab != SDL_GRAB_OFF ) {