Files
xserver/mi
Peter Hutterer 6c0d820635 mi: don't crash on miPointerGetPosition for disabled devices
If a device is disabled, its master device is forcibly reset to NULL but
unlike a floating device it doesn't have a sprite allocated. Calling
miPointerGetPosition for a disabled device thus crashes.

Avoid this by returning 0/0 for any device without a miPointer.
This is a quick fix only, a proper fix for this issue is rather more
involved.

Closes #1782

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1771>
(cherry picked from commit acbdd0ecdd)
2026-01-25 10:40:01 -08:00
..
2026-01-25 10:39:56 -08:00
2026-01-25 10:39:56 -08:00
2014-11-12 10:25:00 +10:00
2021-05-30 13:26:42 +03:00
2014-11-12 10:25:00 +10:00
2017-03-17 15:14:42 -04:00
2017-02-16 15:10:32 -05:00
2020-07-05 13:07:33 -07:00
2026-01-19 12:32:20 -08:00
2020-07-05 13:07:33 -07:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2012-03-21 13:54:42 -07:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2026-01-19 12:32:20 -08:00
2012-03-21 13:54:42 -07:00
2020-07-05 13:07:33 -07:00