diff options
author | marha <marha@users.sourceforge.net> | 2010-05-18 15:49:32 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-05-18 15:49:32 +0000 |
commit | a8abf2e386861592ef6252451eebbeef9e8e40e6 (patch) | |
tree | 07af56804d5e4359e0b14bd35aefb75b92883a37 /xorg-server/mi | |
parent | df3634f34f1c14f6bbdc66d9e54478384fd93eae (diff) | |
download | vcxsrv-a8abf2e386861592ef6252451eebbeef9e8e40e6.tar.gz vcxsrv-a8abf2e386861592ef6252451eebbeef9e8e40e6.tar.bz2 vcxsrv-a8abf2e386861592ef6252451eebbeef9e8e40e6.zip |
Solved crash in closing down
Diffstat (limited to 'xorg-server/mi')
-rw-r--r-- | xorg-server/mi/mieq.c | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|