barwindow raising

This commit is contained in:
Anselm R. Garbe 2007-05-15 13:56:06 +02:00
parent 5ad2828c57
commit 8f5f7a5b5a
1 changed files with 3 additions and 0 deletions

3
main.c
View File

@ -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