summaryrefslogtreecommitdiffstats
path: root/aura/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'aura/event.h')
-rw-r--r--aura/event.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/aura/event.h b/aura/event.h
index 27a9843..884f9b0 100644
--- a/aura/event.h
+++ b/aura/event.h
@@ -12,12 +12,15 @@
#include "ui/base/keycodes/keyboard_codes.h"
#include "ui/gfx/point.h"
+#if defined(USE_X11)
+typedef union _XEvent XEvent;
+#endif
+
namespace aura {
#if defined(OS_WIN)
typedef MSG NativeEvent;
#elif defined(USE_X11)
-typedef union _XEvent XEvent;
typedef XEvent* NativeEvent;
#endif