proximity events bug fix gsoc2008_manymouse
authorSzymon Wilczek <kazeuser@gmail.com>
Wed, 06 Aug 2008 11:49:28 +0000
branchgsoc2008_manymouse
changeset 3778a9370b995ded
parent 3777 54d08ecec1cb
child 3779 5f599ed92fb9
proximity events bug fix
include/SDL_events.h
src/events/SDL_mouse.c
     1.1 --- a/include/SDL_events.h	Wed Aug 06 09:29:32 2008 +0000
     1.2 +++ b/include/SDL_events.h	Wed Aug 06 11:49:28 2008 +0000
     1.3 @@ -329,8 +329,8 @@
     1.4  
     1.5  typedef struct SDL_ProximityEvent
     1.6  {
     1.7 +    Uint8 type;
     1.8      Uint8 which;
     1.9 -    Uint8 type;
    1.10      int cursor;
    1.11      int x;
    1.12      int y;
     2.1 --- a/src/events/SDL_mouse.c	Wed Aug 06 09:29:32 2008 +0000
     2.2 +++ b/src/events/SDL_mouse.c	Wed Aug 06 11:49:28 2008 +0000
     2.3 @@ -349,7 +349,6 @@
     2.4          event.proximity.x=x;
     2.5          event.proximity.y=y;
     2.6          event.proximity.cursor=mouse->current_end;
     2.7 -        event.type=type;
     2.8          event.proximity.type=type;
     2.9          posted = (SDL_PushEvent(&event) > 0);
    2.10          if(type==SDL_PROXIMITYIN)