WayfireWM / wayfire

A modular and extensible wayland compositor
https://wayfire.org/
MIT License
2.41k stars 177 forks source link

Pointer constraint can be (re?)activated by an unfocused surface? #1087

Closed valpackett closed 10 months ago

valpackett commented 3 years ago

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:

  1. start Cube 2: Sauerbraten, join a game
  2. experiment with fast-switching to another window like a browser
  3. 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".

Wayfire version git

ammen99 commented 10 months ago

i believe the bug might have been fixed in the meantime, feel free to reopen of course if it still happens.