Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11events.c @ 3186:51750b7a966f
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 10 Jun 2009 13:34:20 +0000 |
parents | 62d4992e5a92 |
children | 102b7880543a |
comparison
equal
deleted
inserted
replaced
3185:44d5474c2c8a | 3186:51750b7a966f |
---|---|
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); | |
342 SDL_SendProximity(proximity->deviceid, proximity->x, | 343 SDL_SendProximity(proximity->deviceid, proximity->x, |
343 proximity->y, SDL_PROXIMITYIN); | 344 proximity->y, SDL_PROXIMITYIN); |
344 return; | 345 return; |
345 } | 346 } |
346 if (xevent.type == data->proximity_out) { | 347 if (xevent.type == data->proximity_out) { |
347 XProximityNotifyEvent *proximity = | 348 XProximityNotifyEvent *proximity = |
348 (XProximityNotifyEvent *) & xevent; | 349 (XProximityNotifyEvent *) & xevent; |
350 SDL_SetMouseFocus(proximity->deviceid, data->windowID); | |
349 SDL_SendProximity(proximity->deviceid, proximity->x, | 351 SDL_SendProximity(proximity->deviceid, proximity->x, |
350 proximity->y, SDL_PROXIMITYOUT); | 352 proximity->y, SDL_PROXIMITYOUT); |
351 return; | 353 return; |
352 } | 354 } |
353 #endif | 355 #endif |