Describe the bug
It's possible to end up in a state where a pointer_constraints using (fullscreen) game is not in the front but it has the mouse lock — no cursor movement is visible over whatever you've "alt-tabbed" to, and left click brings the game back to the front.
To Reproduce
Steps to reproduce the behavior:
start Cube 2: Sauerbraten, join a game
experiment with fast-switching to another window like a browser
i'm not sure what exactly happens but it's not hard to end up in that state
Expected behavior
Non-foreground surfaces should have pointer constraints "paused".
Describe the bug It's possible to end up in a state where a pointer_constraints using (fullscreen) game is not in the front but it has the mouse lock — no cursor movement is visible over whatever you've "alt-tabbed" to, and left click brings the game back to the front.
To Reproduce Steps to reproduce the behavior:
Expected behavior Non-foreground surfaces should have pointer constraints "paused".
Wayfire version git