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

wayland: prevent setting cursor when window is not focused #6548

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jmbaur
Copy link
Contributor

@jmbaur jmbaur commented Jan 3, 2025

Fixes #5760

Copy link

@holmanb holmanb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can reliably reproduce this issue. I just applied this change to the latest upstream commit (6c443be) and tested it. The error log disappears with this change: it fixes my reproducer.

I'm not familiar with the code enough to give a proper code review, but the fix appears logical based on the symptoms that I observe.

Thanks @jmbaur!

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

Successfully merging this pull request may close these issues.

Input delay with corresponding ERROR log window::os::wayland::window > hide_cursor: Missing enter event serial
2 participants