Mercurial > sdl-ios-xcode
changeset 3778:a9370b995ded gsoc2008_manymouse
proximity events bug fix
author | Szymon Wilczek <kazeuser@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 11:49:28 +0000 |
parents | 54d08ecec1cb |
children | 5f599ed92fb9 |
files | include/SDL_events.h src/events/SDL_mouse.c |
diffstat | 2 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/include/SDL_events.h Wed Aug 06 09:29:32 2008 +0000 +++ b/include/SDL_events.h Wed Aug 06 11:49:28 2008 +0000 @@ -329,8 +329,8 @@ typedef struct SDL_ProximityEvent { + Uint8 type; Uint8 which; - Uint8 type; int cursor; int x; int y;
--- a/src/events/SDL_mouse.c Wed Aug 06 09:29:32 2008 +0000 +++ b/src/events/SDL_mouse.c Wed Aug 06 11:49:28 2008 +0000 @@ -349,7 +349,6 @@ event.proximity.x=x; event.proximity.y=y; event.proximity.cursor=mouse->current_end; - event.type=type; event.proximity.type=type; posted = (SDL_PushEvent(&event) > 0); if(type==SDL_PROXIMITYIN)