mouse lock (pointer grab) doesn't work

Bug #1605082 reported by dinamic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
New
Undecided
Unassigned
libsdl2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

mouse lock doesn't work

test with neverball, try playing with the mouse, the mouse exits the window and triggers the launcher or the app switcher, makes the game unplayable with the mouse

summary: - mouse lock doesn't work
+ mouse lock (pointer grab) doesn't work
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm not sure what state pointer grabs/confinement is in but I know bschaefer has been working on it.

Just on a related note -- GTK, X11, and probably any toolkit requires pointer grab support without confining the cursor location. The use case is to close a pop-up menu; the user clicks outside the menu and that click event must still go to the menu surface (which holds a pointer grab) (see bug 1506713).

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Hmm, slightly confusing... This bug is a duplicate of bug 1590099 fixed in Mir 0.24.0.

However the use case I mentioned in comment #1 seemingly won't be solved by that. And probably needs more work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.