Browse Source

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

Anselm R Garbe 16 năm trước cách đây
mục cha
commit
e3f0445df1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;