summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 15:23:35 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 15:23:35 +0100
commite9c49ddd7a021e99dc2e7518736211ab5bc8cf2c (patch)
tree53a1e310410111719d254fc84b3461bf9f83e80a /event.c
parentf8415019d4edc1cd4f310adb256e6656e85bfe75 (diff)
removed procevent, more refactoring
Diffstat (limited to 'event.c')
-rw-r--r--event.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/event.c b/event.c
index dfe2552e..4b3c1e36 100644
--- a/event.c
+++ b/event.c
@@ -368,14 +368,3 @@ grabkeys(void) {
GrabModeAsync, GrabModeAsync);
}
}
-
-void
-procevent(void) {
- XEvent ev;
-
- while(XPending(dpy)) {
- XNextEvent(dpy, &ev);
- if(handler[ev.type])
- (handler[ev.type])(&ev); /* call handler */
- }
-}