summaryrefslogtreecommitdiff
path: root/xserver/mi/mieq.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/mi/mieq.c')
-rw-r--r--xserver/mi/mieq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xserver/mi/mieq.c b/xserver/mi/mieq.c
index a6e867df6..555f0ec7e 100644
--- a/xserver/mi/mieq.c
+++ b/xserver/mi/mieq.c
@@ -320,7 +320,7 @@ ChangeDeviceID(DeviceIntPtr dev, InternalEvent *event)
case ET_TouchOwnership:
event->touch_ownership_event.deviceid = dev->id;
break;
-#if XFreeXDGA
+#ifdef XFreeXDGA
case ET_DGAEvent:
break;
#endif
@@ -385,7 +385,7 @@ CopyGetMasterEvent(DeviceIntPtr sdev,
if (!sdev || IsMaster(sdev) || IsFloating(sdev))
return NULL;
-#if XFreeXDGA
+#ifdef XFreeXDGA
if (type == ET_DGAEvent)
type = original->dga_event.subtype;
#endif