Whoops, didn't mean to commit unfinished patch
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403647
This commit is contained in:
parent
388df73e0d
commit
0ce493da65
2 changed files with 0 additions and 3 deletions
|
@ -369,7 +369,6 @@ SDL_SendProximity(int id, int x, int y, int type)
|
|||
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;
|
||||
|
|
|
@ -339,7 +339,6 @@ X11_DispatchEvent(_THIS)
|
|||
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 @@ X11_DispatchEvent(_THIS)
|
|||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue