# HG changeset patch # User Sam Lantinga # Date 1244641614 0 # Node ID 102b7880543aa36bbeef3fe679be74eebe4050df # Parent e041d2c603feaf47b51f0def63266765f228bdd6 Whoops, didn't mean to commit unfinished patch diff -r e041d2c603fe -r 102b7880543a src/events/SDL_mouse.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; diff -r e041d2c603fe -r 102b7880543a src/video/x11/SDL_x11events.c --- 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;