# HG changeset patch # User Anselm R. Garbe # Date 1179345593 -7200 # Node ID 8b73375342091ef9d603a26284fb2564c144be35 # Parent 44755dcf1ad4b22f5d2ddd0dd68174c9c3c6a941 raise barwin in restack, that's the most elegant solution I think diff -r 44755dcf1ad4 -r 8b7337534209 layout.c --- a/layout.c Tue May 15 14:06:18 2007 +0200 +++ b/layout.c Wed May 16 21:59:53 2007 +0200 @@ -189,6 +189,7 @@ XLowerWindow(dpy, c->win); } } + XRaiseWindow(dpy, barwin); XSync(dpy, False); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); }