summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2009-06-11 05:15:05 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-18 08:23:30 +1000
commitafa680e495622f521cae80563511c0d284f57551 (patch)
tree81c118e2f9e1ea8524463b75fdd33958c7e71162 /mi
parentcd8abd17abcc8ae9da6704d03b97a9f134f36aab (diff)
mi: ignore DGA events in ChangeDeviceID
DGA events don't have a deviceid, so they don't need changing. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi')
-rw-r--r--mi/mieq.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 8ceda4357..0f07b168e 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -277,6 +277,10 @@ ChangeDeviceID(DeviceIntPtr dev, InternalEvent* event)
case ET_DeviceChanged:
event->device.deviceid = dev->id;
break;
+#if XFreeXDGA
+ case ET_DGAEvent:
+ break;
+#endif
case ET_Raw:
event->raw.deviceid = dev->id;
break;