|
Lines 423-434
Link Here
|
| 423 |
if ( xevent.xcrossing.mode == NotifyUngrab ) |
423 |
if ( xevent.xcrossing.mode == NotifyUngrab ) |
| 424 |
printf("Mode: NotifyUngrab\n"); |
424 |
printf("Mode: NotifyUngrab\n"); |
| 425 |
#endif |
425 |
#endif |
| 426 |
if ( this->input_grab == SDL_GRAB_OFF ) { |
426 |
if ( (xevent.xcrossing.mode != NotifyGrab) && |
| 427 |
posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS); |
427 |
(xevent.xcrossing.mode != NotifyUngrab) ) { |
|
|
428 |
if ( this->input_grab == SDL_GRAB_OFF ) { |
| 429 |
posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS); |
| 430 |
} |
| 431 |
posted = SDL_PrivateMouseMotion(0, 0, |
| 432 |
xevent.xcrossing.x, |
| 433 |
xevent.xcrossing.y); |
| 428 |
} |
434 |
} |
| 429 |
posted = SDL_PrivateMouseMotion(0, 0, |
|
|
| 430 |
xevent.xcrossing.x, |
| 431 |
xevent.xcrossing.y); |
| 432 |
} |
435 |
} |
| 433 |
break; |
436 |
break; |
| 434 |
|
437 |
|