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>
This commit is contained in:
parent
6f265d55a6
commit
8d53d84485
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue