cursor grab no longer grabbed when mouse leave and enter #242
Labels
B - bug
Dang, that shouldn't have happened
D - easy
Likely easier than most tasks here
DS - x11
H - help wanted
Someone please save us
P - normal
Great to have
On X11 using Xmonad window manager:
minimal program: a winit window with cursor state set to grab:
issue:
I run the program. (cursor is grabbed)
I leave the window with xmonad key.
I enter the window: cursor is not longer grabbed
to solve this issue and grab the cursor again I wrote: set cursor grab on mouse entered
That didn't solve anything. But then I wrote: set cursor state to normal and then to grab on mouse entered
and it works (cursor is grabbed again):
I think this is an issue and winit should grab the cursor again automatically on mouse entered.
If so I can look to make a PR.
The text was updated successfully, but these errors were encountered: