-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland support for set_cursor_grab and set_cursor_visible #1180
Wayland support for set_cursor_grab and set_cursor_visible #1180
Conversation
…r_manager_v1" callback comes after the "wl_seat" callback
… the cursor enters the surface. Making the cursor visible again still only happens once the cursor re-enters the surface
…s to the relative_pointer_manager_proxy will happen on the same thread.
In light of the comment about Arc Mutex vs Rc RefCell in #1179 I switched to using Rc and RefCell most places |
…sor back to visible on wayland.
fwiw I can confirm that this PR works fine in alacritty. Ideally we should set to a previous cursor instead of |
Any updates on this? What remains to do in order to get this reviewed and merged in? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for letting this sit, I was pretty busy. This is good now ! 👍
Co-Authored-By: Kirill Chibisov <wchibisovkirill@gmail.com>
Thanks! Merging! |
Added support for set_cursor_grab and set_cursor_visible. There is currently a know limitation that if when making the cursor visible it does not take effect until the cursor re-enters the window surface.