Whoops, didn't mean to commit unfinished patch
authorSam Lantinga
Wed, 10 Jun 2009 13:46:54 +0000
changeset 3188102b7880543a
parent 3187 e041d2c603fe
child 3189 ba1e64340565
Whoops, didn't mean to commit unfinished patch
src/events/SDL_mouse.c
src/video/x11/SDL_x11events.c
     1.1 --- a/src/events/SDL_mouse.c	Wed Jun 10 13:38:19 2009 +0000
     1.2 +++ b/src/events/SDL_mouse.c	Wed Jun 10 13:46:54 2009 +0000
     1.3 @@ -369,7 +369,6 @@
     1.4          event.proximity.y = y;
     1.5          event.proximity.cursor = mouse->current_end;
     1.6          event.proximity.type = type;
     1.7 -        event.proximity.windowID = mouse->focus;
     1.8          posted = (SDL_PushEvent(&event) > 0);
     1.9          if (type == SDL_PROXIMITYIN) {
    1.10              mouse->proximity = SDL_TRUE;
     2.1 --- a/src/video/x11/SDL_x11events.c	Wed Jun 10 13:38:19 2009 +0000
     2.2 +++ b/src/video/x11/SDL_x11events.c	Wed Jun 10 13:46:54 2009 +0000
     2.3 @@ -339,7 +339,6 @@
     2.4                  if (xevent.type == data->proximity_in) {
     2.5                      XProximityNotifyEvent *proximity =
     2.6                          (XProximityNotifyEvent *) & xevent;
     2.7 -                    SDL_SetMouseFocus(proximity->deviceid, data->windowID);
     2.8                      SDL_SendProximity(proximity->deviceid, proximity->x,
     2.9                                        proximity->y, SDL_PROXIMITYIN);
    2.10                      return;
    2.11 @@ -347,7 +346,6 @@
    2.12                  if (xevent.type == data->proximity_out) {
    2.13                      XProximityNotifyEvent *proximity =
    2.14                          (XProximityNotifyEvent *) & xevent;
    2.15 -                    SDL_SetMouseFocus(proximity->deviceid, data->windowID);
    2.16                      SDL_SendProximity(proximity->deviceid, proximity->x,
    2.17                                        proximity->y, SDL_PROXIMITYOUT);
    2.18                      return;