From a8abf2e386861592ef6252451eebbeef9e8e40e6 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 18 May 2010 15:49:32 +0000 Subject: Solved crash in closing down --- xorg-server/mi/mieq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xorg-server/mi') diff --git a/xorg-server/mi/mieq.c b/xorg-server/mi/mieq.c index a400fe29b..707d0f8ff 100644 --- a/xorg-server/mi/mieq.c +++ b/xorg-server/mi/mieq.c @@ -381,7 +381,7 @@ mieqProcessDeviceEvent(DeviceIntPtr dev, case ET_KeyRelease: case ET_ButtonPress: case ET_ButtonRelease: - if (dev && screen && screen != DequeueScreen(dev) && !handler) { + if (dev && screen && dev->spriteInfo->sprite && screen != DequeueScreen(dev) && !handler) { DequeueScreen(dev) = screen; x = event->device_event.root_x; y = event->device_event.root_y; -- cgit v1.2.3