summaryrefslogtreecommitdiff
path: root/events.h
diff options
context:
space:
mode:
authorMC <mc@hack.org>2010-06-24 17:28:16 +0200
committerMC <mc@hack.org>2010-06-24 17:28:16 +0200
commitd6ed181eee6f2dd3439e0e6057c868c2d5d4a8d0 (patch)
treeccb10065d6a039f3371139906a518ca6f44e6903 /events.h
parent9b89fb40a58caed77c53732eb440db936592a837 (diff)
downloadmcwm-d6ed181eee6f2dd3439e0e6057c868c2d5d4a8d0.zip
Added debug printouts for incoming events.
Diffstat (limited to 'events.h')
-rw-r--r--events.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/events.h b/events.h
new file mode 100644
index 0000000..27c23e4
--- /dev/null
+++ b/events.h
@@ -0,0 +1,39 @@
+#define MAXEVENTS 34
+
+static char *evnames[] = {
+ "",
+ "",
+ "KeyPress",
+ "KeyRelease",
+ "ButtonPress",
+ "ButtonRelease",
+ "MotionNotify",
+ "EnterNotify",
+ "LeaveNotify",
+ "FocusIn",
+ "FocusOut",
+ "KeymapNotify",
+ "Expose",
+ "GraphicsExpose",
+ "NoExpose",
+ "VisibilityNotify",
+ "CreateNotify",
+ "DestroyNotify",
+ "UnmapNotify",
+ "MapNotify",
+ "MapRequest",
+ "ReparentNotify",
+ "ConfigureNotify",
+ "ConfigureRequest",
+ "GravityNotify",
+ "ResizeRequest",
+ "CirculateNotify",
+ "CirculateRequest",
+ "PropertyNotify",
+ "SelectionClear",
+ "SelectionRequest",
+ "SelectionNotify",
+ "ColormapNotify",
+ "ClientMessage",
+ "MappingNotify"
+};