Whoops, didn't mean to commit unfinished patch
authorSam Lantinga <slouken@libsdl.org>
Wed, 10 Jun 2009 13:46:54 +0000
changeset 3188 102b7880543a
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
--- a/src/events/SDL_mouse.c	Wed Jun 10 13:38:19 2009 +0000
+++ b/src/events/SDL_mouse.c	Wed Jun 10 13:46:54 2009 +0000
@@ -369,7 +369,6 @@
         event.proximity.y = y;
         event.proximity.cursor = mouse->current_end;
         event.proximity.type = type;
-        event.proximity.windowID = mouse->focus;
         posted = (SDL_PushEvent(&event) > 0);
         if (type == SDL_PROXIMITYIN) {
             mouse->proximity = SDL_TRUE;
--- a/src/video/x11/SDL_x11events.c	Wed Jun 10 13:38:19 2009 +0000
+++ b/src/video/x11/SDL_x11events.c	Wed Jun 10 13:46:54 2009 +0000
@@ -339,7 +339,6 @@
                 if (xevent.type == data->proximity_in) {
                     XProximityNotifyEvent *proximity =
                         (XProximityNotifyEvent *) & xevent;
-                    SDL_SetMouseFocus(proximity->deviceid, data->windowID);
                     SDL_SendProximity(proximity->deviceid, proximity->x,
                                       proximity->y, SDL_PROXIMITYIN);
                     return;
@@ -347,7 +346,6 @@
                 if (xevent.type == data->proximity_out) {
                     XProximityNotifyEvent *proximity =
                         (XProximityNotifyEvent *) & xevent;
-                    SDL_SetMouseFocus(proximity->deviceid, data->windowID);
                     SDL_SendProximity(proximity->deviceid, proximity->x,
                                       proximity->y, SDL_PROXIMITYOUT);
                     return;