Files
SDL/src
Christoph Reichenbach 1b284cd415 X11 pen detection: fix misclassification due to improper init
xinput2_device_is_pen() was testing against default-zero values
in the X11 Atom cache on at least the first round of
detections, leading to imprecise detection.

The patch fixes two aspects of initialisation:

1. Ensure that the selector cache is always initialised in
xinput2_device_is_pen().

2. Ensure that all X11 Atoms used in SDL_x11pen.c are instantiated if
missing. This ensures that they are never None and avoids potential
failures to detect hot-plugged tablet devices.

Acknowledgements: @tilman3 for narrowing down the issue and an
initial fix
2023-11-26 14:10:04 +03:00
..
2023-11-09 14:18:36 -08:00
2023-11-16 10:28:54 -08:00
2023-11-09 14:18:36 -08:00
2023-11-23 11:35:02 +03:00
2023-11-22 10:35:15 -08:00
2023-09-25 18:02:40 +02:00
2023-11-09 14:18:36 -08:00
2023-11-08 14:14:41 -08:00
2023-11-09 14:18:36 -08:00
2023-11-09 14:18:36 -08:00
2023-11-09 14:18:36 -08:00
2023-11-23 04:30:56 +03:00
2023-11-10 06:33:39 -08:00
2023-11-09 14:18:36 -08:00
2023-01-09 09:41:41 -08:00
2023-11-09 14:18:36 -08:00
2023-01-09 09:41:41 -08:00
2023-11-09 14:18:36 -08:00
2023-11-09 14:18:36 -08:00
2023-11-09 14:18:36 -08:00
2023-11-09 14:18:36 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-10-11 22:38:00 -07:00
2023-11-09 14:18:36 -08:00