moonlight-embedded icon indicating copy to clipboard operation
moonlight-embedded copied to clipboard

[X11] fix cursor jumping when grabbed

Open djdisodo opened this issue 4 years ago • 0 comments

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

djdisodo avatar Nov 23 '21 13:11 djdisodo