Commit 8f5f7a5

Anselm R. Garbe <arg@suckless.org>
2007-05-15 07:56:06
barwindow raising
1 parent 5ad2828
Changed files (1)
main.c
@@ -245,6 +245,9 @@ updatebarpos(void) {
 		XMoveWindow(dpy, barwin, sx, sy - bh);
 		break;
 	}
+	XRaiseWindow(dpy, barwin);
+	XSync(dpy, False);
+	while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
 }
 
 /* There's no way to check accesses to destroyed windows, thus those cases are