mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 07:52:57 -05:00
Don't be fooled by unclutter - the mouse isn't really leaving our window
This commit is contained in:
parent
db3fffb203
commit
6731e2c171
|
|
@ -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…
Reference in New Issue
Block a user