浏览代码

assign selected tags of target monitor to client when tagmon is performed (less obtrusive imho)

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

+ 1 - 0
dwm.c

@@ -1502,6 +1502,7 @@ tagmon(const Arg *arg) {
 			detach(c);
 			detachstack(c);
 			c->mon = m;
+			c->tags = selmon->seltags; /* assign tags of target monitor */
 			attach(c);
 			attachstack(c);
 			m->sel = c;