X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=main.c;h=021874f31f127e96098db20344f0a9d0a1302de4;hb=8f5f7a5b5a40ee535305927dd12ba83891d1b0b1;hp=614faa08cc129e82151c2a3a334f9e55d65dfae3;hpb=37e062b0ed475fb6d9030f05b353c4fb79b7c6e5;p=dwm.git 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