# HG changeset patch # User Szymon Wilczek # Date 1218023368 0 # Node ID a9370b995dede5eaf013340081c01e34b93f9822 # Parent 54d08ecec1cbb8e05a441465647277b69c8a9e88 proximity events bug fix diff -r 54d08ecec1cb -r a9370b995ded include/SDL_events.h --- 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; diff -r 54d08ecec1cb -r a9370b995ded src/events/SDL_mouse.c --- 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)