Peter Hutterer <[email protected]> writes:

> 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.

Yeah, seems kinda like a kludge to me, but doesn't obviously change any
relevant semantics.

Reviewed-by: Keith Packard <[email protected]>

-- 
[email protected]

Attachment: pgpHqSm5mSAAf.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to