Don't be fooled by unclutter - the mouse isn't really leaving our window
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40497
This commit is contained in:
parent
34a52528ff
commit
6bbd447643
1 changed files with 2 additions and 1 deletions
|
@ -196,7 +196,8 @@ if ( xevent.xcrossing.mode == NotifyUngrab )
|
|||
printf("Mode: NotifyUngrab\n");
|
||||
#endif
|
||||
if ( (xevent.xcrossing.mode != NotifyGrab) &&
|
||||
(xevent.xcrossing.mode != NotifyUngrab) ) {
|
||||
(xevent.xcrossing.mode != NotifyUngrab) &&
|
||||
(xevent.xcrossing.detail != NotifyInferior) ) {
|
||||
if ( this->input_grab == SDL_GRAB_OFF ) {
|
||||
posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue