JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
barwindow raising
authorAnselm R. Garbe <arg@suckless.org>
Tue, 15 May 2007 11:56:06 +0000 (13:56 +0200)
committerAnselm R. Garbe <arg@suckless.org>
Tue, 15 May 2007 11:56:06 +0000 (13:56 +0200)
main.c

diff --git a/main.c b/main.c
index 614faa0..021874f 100644 (file)
--- a/main.c
+++ b/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