Browse Source

raise barwin in restack, that's the most elegant solution I think

Anselm R. Garbe 18 years ago
parent
commit
598e22907e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      layout.c

+ 1 - 0
layout.c

@@ -189,6 +189,7 @@ restack(void) {
 			XLowerWindow(dpy, c->win);
 			XLowerWindow(dpy, c->win);
 		}
 		}
 	}
 	}
+	XRaiseWindow(dpy, barwin);
 	XSync(dpy, False);
 	XSync(dpy, False);
 	while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
 	while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
 }
 }