From 602d593af083995cdb07bf63a2b4cc00212b3bf9 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 17 Jan 2008 16:12:50 +0100 Subject: [PATCH] XSync after each event --- awesome.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awesome.c b/awesome.c index 4c9d6a69..4f677f2f 100644 --- a/awesome.c +++ b/awesome.c @@ -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();