assign selected tags of target monitor to client when tagmon is performed (less obtrusive imho)
authorAnselm R Garbe <garbeam@gmail.com>
Thu, 25 Jun 2009 11:10:19 +0100
changeset 1421 90b25302c8ee
parent 1420 245eb72073c2
child 1422 f6514f1cdddf
assign selected tags of target monitor to client when tagmon is performed (less obtrusive imho)
dwm.c
--- a/dwm.c	Wed Jun 24 20:04:18 2009 +0100
+++ b/dwm.c	Thu Jun 25 11:10:19 2009 +0100
@@ -1502,6 +1502,7 @@
 			detach(c);
 			detachstack(c);
 			c->mon = m;
+			c->tags = selmon->seltags; /* assign tags of target monitor */
 			attach(c);
 			attachstack(c);
 			m->sel = c;