comparison src/events/SDL_mouse.c @ 3840:be9bd1067c6c SDL-ryan-multiple-audio-device

Some fixes that were discovered when trying to get OS/2 audio working again...
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 08 Oct 2006 08:58:36 +0000
parents c121d94672cb
children 003c1b5b07da
comparison
equal deleted inserted replaced
3839:506fc6ca82cb 3840:be9bd1067c6c
163 return 0; 163 return 0;
164 } 164 }
165 return mouse->focus; 165 return mouse->focus;
166 } 166 }
167 167
168 static int 168 static int SDLCALL
169 FlushMouseMotion(void *param, SDL_Event * event) 169 FlushMouseMotion(void *param, SDL_Event * event)
170 { 170 {
171 if (event->type == SDL_MOUSEMOTION 171 if (event->type == SDL_MOUSEMOTION
172 && event->motion.which == (Uint8) SDL_current_mouse) { 172 && event->motion.which == (Uint8) SDL_current_mouse) {
173 return 0; 173 return 0;