mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fixes an issue where mouse is only sampled half the time.
Very obvious when aiming with a mouse like in tyrquake.
This commit is contained in:
parent
6f05fe0ff5
commit
4434bd221a
@ -316,6 +316,7 @@ static void x_input_poll_mouse(x11_input_t *x11)
|
||||
XWarpPointer(x11->display, None,
|
||||
x11->win, 0, 0, 0, 0,
|
||||
mid_w, mid_h);
|
||||
XSync(x11->display, False);
|
||||
}
|
||||
x11->mouse_last_x = mid_w;
|
||||
x11->mouse_last_y = mid_h;
|
||||
|
Loading…
x
Reference in New Issue
Block a user