summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2009-06-25 11:10:19 +0100
committerAnselm R Garbe <garbeam@gmail.com>2009-06-25 11:10:19 +0100
commite3f0445df1dcdd34189c9d48cbad67dd32764575 (patch)
tree42ab71dc9b2aa17a85b0ce24fdaf1a76d19a9a47
parentab06f7444bf558d4a58e6ca617b1b4f55c6b00c7 (diff)
downloaddwm-e3f0445df1dcdd34189c9d48cbad67dd32764575.tar.gz
assign selected tags of target monitor to client when tagmon is performed (less obtrusive imho)
-rw-r--r--dwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index b54ccd4..6459512 100644
--- a/dwm.c
+++ b/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;