comparison src/video/x11/SDL_x11events.c @ 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 51750b7a966f
children 08747e24a50f
comparison
equal deleted inserted replaced
3187:e041d2c603fe 3188:102b7880543a
337 return; 337 return;
338 } 338 }
339 if (xevent.type == data->proximity_in) { 339 if (xevent.type == data->proximity_in) {
340 XProximityNotifyEvent *proximity = 340 XProximityNotifyEvent *proximity =
341 (XProximityNotifyEvent *) & xevent; 341 (XProximityNotifyEvent *) & xevent;
342 SDL_SetMouseFocus(proximity->deviceid, data->windowID);
343 SDL_SendProximity(proximity->deviceid, proximity->x, 342 SDL_SendProximity(proximity->deviceid, proximity->x,
344 proximity->y, SDL_PROXIMITYIN); 343 proximity->y, SDL_PROXIMITYIN);
345 return; 344 return;
346 } 345 }
347 if (xevent.type == data->proximity_out) { 346 if (xevent.type == data->proximity_out) {
348 XProximityNotifyEvent *proximity = 347 XProximityNotifyEvent *proximity =
349 (XProximityNotifyEvent *) & xevent; 348 (XProximityNotifyEvent *) & xevent;
350 SDL_SetMouseFocus(proximity->deviceid, data->windowID);
351 SDL_SendProximity(proximity->deviceid, proximity->x, 349 SDL_SendProximity(proximity->deviceid, proximity->x,
352 proximity->y, SDL_PROXIMITYOUT); 350 proximity->y, SDL_PROXIMITYOUT);
353 return; 351 return;
354 } 352 }
355 #endif 353 #endif