Anselm R Garbe 16 years ago
parent
commit
a73ff905b0
1 changed files with 1 additions and 1 deletions
  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;