Skip to content
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

Add support for mouse warp using libei #12473

Open
slouken opened this issue Mar 5, 2025 · 0 comments
Open

Add support for mouse warp using libei #12473

slouken opened this issue Mar 5, 2025 · 0 comments
Milestone

Comments

@slouken
Copy link
Collaborator

slouken commented Mar 5, 2025

The current method of hiding the cursor, warping, and showing the cursor can be extremely expensive on some compositors, such as gamescope. libei is a much more efficient path for warping the mouse on Wayland, so we should use that where supported.

Maybe this code should go in src/common/linux, so it can be shared between the X11 and Wayland backends?

@misyltoad, is this something you'd like to tackle? The recent XTest support is a good path to follow for this.

@slouken slouken added this to the 3.x milestone Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant