summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-05-15 13:56:06 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-05-15 13:56:06 +0200
commit8f5f7a5b5a40ee535305927dd12ba83891d1b0b1 (patch)
tree0590feab099fd7b854f77512d26132661901c738
parent5ad2828c579937afc3dc6da9987587e0eb2473dc (diff)
barwindow raising
-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) {
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