Browse Source

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

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