summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-01-07 15:34:52 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2010-01-08 09:03:24 +1000
commite54309e2ec1d16eb5570fad60af9be31f710c852 (patch)
tree66005440f1765b6b6bdbfc22db4c0565058ea241
parent8661189c2c443e2d3e5d98e6b04d1852a98bac41 (diff)
Do not define members of include/eventstr.h:EventType enum conditionally.
Main problem is that EventType enumeration members can be different in module and in server, which obviously causes problems. Signed-off-by: Adam Tkac <atkac@redhat.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 8d53d84485fdce8ea9686e6f300a69f7ddebd467)
-rw-r--r--include/eventstr.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/eventstr.h b/include/eventstr.h
index 0d5b1c62a..79685c1a6 100644
--- a/include/eventstr.h
+++ b/include/eventstr.h
@@ -58,17 +58,13 @@ enum EventType {
ET_ProximityOut,
ET_DeviceChanged,
ET_Hierarchy,
-#if XFreeXDGA
ET_DGAEvent,
-#endif
ET_RawKeyPress,
ET_RawKeyRelease,
ET_RawButtonPress,
ET_RawButtonRelease,
ET_RawMotion,
-#ifdef XQUARTZ
ET_XQuartz,
-#endif
ET_Internal = 0xFF /* First byte */
};