JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
raise barwin in restack, that's the most elegant solution I think
[dwm.git] / layout.c
index bc5ca1c..0f17b69 100644 (file)
--- a/layout.c
+++ b/layout.c
@@ -189,6 +189,7 @@ restack(void) {
                        XLowerWindow(dpy, c->win);
                }
        }
+       XRaiseWindow(dpy, barwin);
        XSync(dpy, False);
        while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
 }