summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-09-18 10:03:02 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-22 11:15:32 +1000
commit90aa0e4a49cdd637178a771365e1e8dab8bceb87 (patch)
tree08f00055e2d22b8af4f457188613a5776fd6787f /include
parent693d4fdb1c7b7c789a812790122454e718602449 (diff)
input: don't use typecasts to access members of InternalEvent.
To avoid confusion, the member names are now postfixed with _event. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/eventstr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/eventstr.h b/include/eventstr.h
index f082db34a..509982b46 100644
--- a/include/eventstr.h
+++ b/include/eventstr.h
@@ -221,12 +221,12 @@ union _InternalEvent {
int length; /**< Length in bytes */
Time time; /**< Time in ms. */
} any;
- DeviceEvent device;
- DeviceChangedEvent changed;
+ DeviceEvent device_event;
+ DeviceChangedEvent changed_event;
#if XFreeXDGA
- DGAEvent dga;
+ DGAEvent dga_event;
#endif
- RawDeviceEvent raw;
+ RawDeviceEvent raw_event;
};
#endif