XSync after each event
This commit is contained in:
parent
9d4aaa5461
commit
602d593af0
|
@ -394,6 +394,8 @@ main(int argc, char *argv[])
|
||||||
XNextEvent(dpy, &ev);
|
XNextEvent(dpy, &ev);
|
||||||
if(handler[ev.type])
|
if(handler[ev.type])
|
||||||
handler[ev.type](&ev); /* call handler */
|
handler[ev.type](&ev); /* call handler */
|
||||||
|
/* need to resync */
|
||||||
|
XSync(dpy, False);
|
||||||
}
|
}
|
||||||
|
|
||||||
statusbar_refresh();
|
statusbar_refresh();
|
||||||
|
|
Loading…
Reference in New Issue