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.y = y;
|
||||||
event.proximity.cursor = mouse->current_end;
|
event.proximity.cursor = mouse->current_end;
|
||||||
event.proximity.type = type;
|
event.proximity.type = type;
|
||||||
event.proximity.windowID = mouse->focus;
|
|
||||||
posted = (SDL_PushEvent(&event) > 0);
|
posted = (SDL_PushEvent(&event) > 0);
|
||||||
if (type == SDL_PROXIMITYIN) {
|
if (type == SDL_PROXIMITYIN) {
|
||||||
mouse->proximity = SDL_TRUE;
|
mouse->proximity = SDL_TRUE;
|
||||||
|
|
|
@ -339,7 +339,6 @@ X11_DispatchEvent(_THIS)
|
||||||
if (xevent.type == data->proximity_in) {
|
if (xevent.type == data->proximity_in) {
|
||||||
XProximityNotifyEvent *proximity =
|
XProximityNotifyEvent *proximity =
|
||||||
(XProximityNotifyEvent *) & xevent;
|
(XProximityNotifyEvent *) & xevent;
|
||||||
SDL_SetMouseFocus(proximity->deviceid, data->windowID);
|
|
||||||
SDL_SendProximity(proximity->deviceid, proximity->x,
|
SDL_SendProximity(proximity->deviceid, proximity->x,
|
||||||
proximity->y, SDL_PROXIMITYIN);
|
proximity->y, SDL_PROXIMITYIN);
|
||||||
return;
|
return;
|
||||||
|
@ -347,7 +346,6 @@ X11_DispatchEvent(_THIS)
|
||||||
if (xevent.type == data->proximity_out) {
|
if (xevent.type == data->proximity_out) {
|
||||||
XProximityNotifyEvent *proximity =
|
XProximityNotifyEvent *proximity =
|
||||||
(XProximityNotifyEvent *) & xevent;
|
(XProximityNotifyEvent *) & xevent;
|
||||||
SDL_SetMouseFocus(proximity->deviceid, data->windowID);
|
|
||||||
SDL_SendProximity(proximity->deviceid, proximity->x,
|
SDL_SendProximity(proximity->deviceid, proximity->x,
|
||||||
proximity->y, SDL_PROXIMITYOUT);
|
proximity->y, SDL_PROXIMITYOUT);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue