浏览代码

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

Anselm R. Garbe 18 年之前
父节点
当前提交
598e22907e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      layout.c

+ 1 - 0
layout.c

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