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

[X11] fix cursor jumping when grabbed #834

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

djdisodo
Copy link

Description
i found that cursor jumps randomly when you move your cursor only when you grabbed

it occurs because you set last_x and last_y while another MotionNotify event is in the queue, possibly an event before XWarpPointer applied

this patch make sure there is no MotionNotify event in the queue before setting last_x and last_y, warping cursor and sending mouse move

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.

1 participant