Files
xserver/mi
Peter Hutterer acbdd0ecdd 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>
2025-02-26 04:17:02 +00:00
..
2025-02-06 21:00:08 +00:00
2025-02-06 16:45:20 +02:00
2024-10-10 13:38:31 +00:00
2025-02-06 16:45:20 +02:00
2024-10-10 13:38:31 +00:00
2014-11-12 10:25:00 +10:00
2017-02-16 15:10:32 -05:00
2024-10-10 13:38:31 +00:00
2014-11-12 10:25:00 +10:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2025-02-06 14:38:05 +00:00
2014-11-12 10:25:00 +10:00
2025-02-06 16:45:20 +02:00
2025-02-06 16:45:20 +02:00
2025-02-06 16:45:20 +02:00
2025-02-06 16:45:20 +02:00
2012-03-21 13:54:42 -07:00
2024-10-10 13:38:31 +00:00