Files
SDL/src
Torge Matthies f18b5656f6 x11: Fix duplicate Xinput2 event reception
Passing True for owner_events in the XGrabPointer call makes all
XI_RawMotion events appear in the queue twice, with the only difference
between them being the value of XGenericEventCookie::cookie. These have
always been filtered out by a check in the XI_RawMotion handler,
however with a mouse that polls at more than 1 kHz frequency, there
also exist legitimate events that appear indistinguishable from these
duplicated events. These must not be filtered out, otherwise the
pointer may move at an inconsistent speed, appearing like a bad pointer
acceleration implementation.

Change owner_events to False in the XGrabPointer and remove the
duplicate event detection code to fix this.

Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
2023-02-25 10:04:46 -08:00
..
2023-02-03 13:08:42 -08:00
2023-01-09 09:41:41 -08:00
2023-02-06 11:42:38 +01:00
2023-01-09 09:41:41 -08:00
2023-01-10 06:19:40 -08:00
2023-01-09 09:41:41 -08:00
2023-02-03 13:08:42 -08:00
2023-02-08 17:35:54 -08:00
2023-02-10 11:00:48 +01:00
2023-02-10 11:00:48 +01:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00