just ignore the FD_ISSET check in main.c of xfd, just call XPending (which does the same afair)
This commit is contained in:
parent
204f0a340d
commit
b3b58c08e4
1 changed files with 5 additions and 6 deletions
1
main.c
1
main.c
|
@ -325,7 +325,6 @@ main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
drawstatus();
|
drawstatus();
|
||||||
}
|
}
|
||||||
if(FD_ISSET(xfd, &rd))
|
|
||||||
while(XPending(dpy)) {
|
while(XPending(dpy)) {
|
||||||
XNextEvent(dpy, &ev);
|
XNextEvent(dpy, &ev);
|
||||||
if(handler[ev.type])
|
if(handler[ev.type])
|
||||||
|
|
Loading…
Reference in a new issue