comparison src/video/wincommon/SDL_sysevents.c @ 5173:2fdf3e37f4d1 SDL-1.2

Fixed compile error
author Sam Lantinga <slouken@libsdl.org>
date Fri, 04 Feb 2011 09:07:39 -0800
parents 8c88cae7911e
children
comparison
equal deleted inserted replaced
5129:32f0f603a0c8 5173:2fdf3e37f4d1
417 case WM_XBUTTONUP: { 417 case WM_XBUTTONUP: {
418 /* Mouse is handled by DirectInput when fullscreen */ 418 /* Mouse is handled by DirectInput when fullscreen */
419 if ( SDL_VideoSurface && ! DINPUT() ) { 419 if ( SDL_VideoSurface && ! DINPUT() ) {
420 WORD xbuttonval = 0; 420 WORD xbuttonval = 0;
421 Uint8 button, state; 421 Uint8 button, state;
422 int x, y;
422 423
423 /* DJM: 424 /* DJM:
424 We want the SDL window to take focus so that 425 We want the SDL window to take focus so that
425 it acts like a normal windows "component" 426 it acts like a normal windows "component"
426 (e.g. gains keyboard focus on a mouse click). 427 (e.g. gains keyboard focus on a mouse click).