From: Anselm R. Garbe Date: Tue, 15 May 2007 11:56:06 +0000 (+0200) Subject: barwindow raising X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=8f5f7a5b5a40ee535305927dd12ba83891d1b0b1 barwindow raising --- 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