removed procevent, more refactoring
This commit is contained in:
parent
f8415019d4
commit
e9c49ddd7a
3 changed files with 6 additions and 14 deletions
11
event.c
11
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 */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue