diff options
-rw-r--r-- | include/eventstr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/eventstr.h b/include/eventstr.h index 3eefc052f..e39beb986 100644 --- a/include/eventstr.h +++ b/include/eventstr.h @@ -44,7 +44,7 @@ * Note: Keep KeyPress to Motion aligned with the core events. * Keep ET_Raw* in the same order as KeyPress - Motion */ -enum { +enum EventType { ET_KeyPress = 2, ET_KeyRelease, ET_ButtonPress, @@ -67,7 +67,7 @@ enum { ET_RawButtonRelease, ET_RawMotion, ET_Internal = 0xFF /* First byte */ -} EventType; +}; #define CHECKEVENT(ev) if (ev && ((InternalEvent*)(ev))->any.header != 0xFF) \ FatalError("Wrong event type %d.\n", \ |