xserver/hw
Jason Gerecke 2fbf62b2fb xfree86: Fix interpretation of xf86WaitForInput timeout
Commit aa6717ce2 switched xf86WaitForInput from using select(2) to using
poll(2). Before this change, the timeout was interpreted as being in
microseconds; afterwards it is fed directly to xorg_poll which interprets
it as being in milliseconds. This results in the function potentially
blocking 1000x longer than intended. This commit scales down the timeout
argument before passing it to xorg_poll, being careful to ensure the result
is not rounded down due to integer division.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-05-29 13:53:39 +10:00
..
dmx dmx: Fix decl mismatch for XRT_WINDOW 2017-05-03 15:44:04 -04:00
kdrive xephyr: Fix regeneration 2017-05-11 14:13:12 -04:00
vfb Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xfree86 xfree86: Fix interpretation of xf86WaitForInput timeout 2017-05-29 13:53:39 +10:00
xnest Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xquartz Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xwayland xwayland: Unconditionally initialize lists in init_tablet_manager_seat() 2017-05-05 08:50:45 +10:00
xwin hw/xwin: Fix -Wunused-function warning for MessageName() in non-debug builds 2017-05-15 17:46:37 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00