Files
xserver/dix
Peter Hutterer 4b7f00346d dix: fix crash on shutdown if a disabled device is still grabbed (XI1 grab)
A disabled device doesn't have a sprite (less so a sprite->win) and triggers
a NULL-pointer dereference on shutdown when all active grabs are released as
part of the cleanup.

Fix this by checking for sprite being non-null and setting the focus window
to the NullWindow if it is. The rest of the patch just attempts to make
things more readable.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
2012-10-10 14:40:45 +10:00
..
2012-03-21 13:54:42 -07:00
2003-11-14 16:49:22 +00:00
2003-11-14 15:54:54 +00:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-07-06 10:35:13 +01:00
2012-03-21 13:54:42 -07:00
2012-05-01 11:36:30 +10:00
2012-08-14 17:13:52 -07:00
2009-08-28 23:29:05 -04:00
2012-03-21 13:54:42 -07:00
2012-03-22 11:33:42 +10:00