Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Whoops, didn't mean to commit unfinished patch

  • Loading branch information
slouken committed Jun 10, 2009
1 parent dde62ac commit 2bbdc9e7b64eea208642a70783595eb326b4c4b1
Showing with 0 additions and 3 deletions.
  1. +0 −1 src/events/SDL_mouse.c
  2. +0 −2 src/video/x11/SDL_x11events.c
@@ -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,15 +339,13 @@ 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;
}
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;

0 comments on commit 2bbdc9e

Please sign in to comment.