server/grab: add test case for crash on disabled device grab (#54934)
server/grab: add test case for crash on disabled device grab (#54934)

A grab on a disabled device crashes the server due to
device->spriteInfo.sprite being NULL on disabled devices.

This only applies to XI1 grabs, for XI2 grabs the device is detached from
the master, assigning it a sprite (which is wrong too, but it doesn't
trigger the crash)

X.Org Bug 54934 <http://bugs.freedesktop.org/show_bug.cgi?id=54934>

Signed-off-by: Peter Hutterer <b9c50af7afa7642f6f854434cda9ffe54ece8b85@who-t.net>

freedesktop-unofficial-mirror/xorg__test__xorg-integration-tests,freedesktop-unofficial-mirror/xorg__test__xorg-integration-tests,freedesktop-unofficial-mirror/xorg__test__xorg-integration-tests