summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 614faa0..021874f 100644
--- a/main.c
+++ b/main.c
@@ -245,6 +245,9 @@ updatebarpos(void) {
245 XMoveWindow(dpy, barwin, sx, sy - bh); 245 XMoveWindow(dpy, barwin, sx, sy - bh);
246 break; 246 break;
247 } 247 }
248 XRaiseWindow(dpy, barwin);
249 XSync(dpy, False);
250 while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
248} 251}
249 252
250/* There's no way to check accesses to destroyed windows, thus those cases are 253/* There's no way to check accesses to destroyed windows, thus those cases are