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

This commit is contained in:
Anselm R Garbe 2009-06-25 11:10:19 +01:00
parent ab06f7444b
commit e3f0445df1
1 changed files with 1 additions and 0 deletions

1
dwm.c
View File

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