XSync after each event

This commit is contained in:
Julien Danjou 2008-01-17 16:12:50 +01:00
parent 9d4aaa5461
commit 602d593af0
1 changed files with 2 additions and 0 deletions

View File

@ -394,6 +394,8 @@ main(int argc, char *argv[])
XNextEvent(dpy, &ev);
if(handler[ev.type])
handler[ev.type](&ev); /* call handler */
/* need to resync */
XSync(dpy, False);
}
statusbar_refresh();