Files
xserver/Xi
Peter Hutterer 797f63b8be Xi: disallow grabbing disabled devices
Grabbing a disabled (pointer) device will lead to a segfault later
in the myriad of places where we look at the device's spriteInfo - which
will be NULL.

As a workaround, disallow grabbing a disabled device by pretending it's
already grabbed. Since the point of a grab is to receive all events by
that device and disabled devices cannot send events, this should be Good
Enough.

Tested-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1856>
2025-03-06 14:19:50 +01:00
..
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2020-03-30 21:48:11 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2024-10-10 13:38:31 +00:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2025-02-25 11:43:01 +01:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2024-09-01 22:21:12 +00:00