]> git.armaanb.net Git - dwm.git/commitdiff
assign selected tags of target monitor to client when tagmon is performed (less obtru...
authorAnselm R Garbe <garbeam@gmail.com>
Thu, 25 Jun 2009 10:10:19 +0000 (11:10 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Thu, 25 Jun 2009 10:10:19 +0000 (11:10 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index b54ccd4f30e9c068be1453b62fb4caf9e45075cc..645951200ef58878fe004fa36c48588af5e12d5f 100644 (file)
--- 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;