Skip to content

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