Mercurial > sdl-ios-xcode
comparison src/events/SDL_mouse.c @ 2049:5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 17 Oct 2006 09:15:21 +0000 |
parents | c121d94672cb |
children | 003c1b5b07da |
comparison
equal
deleted
inserted
replaced
2048:6067c7f9a672 | 2049:5f6550e5184f |
---|---|
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; |