Mercurial > sdl-ios-xcode
changeset 3188:102b7880543a
Whoops, didn't mean to commit unfinished patch
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 10 Jun 2009 13:46:54 +0000 |
parents | e041d2c603fe |
children | ba1e64340565 |
files | src/events/SDL_mouse.c src/video/x11/SDL_x11events.c |
diffstat | 2 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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;