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

+ 1 - 1
dwm.c

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