X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=645951200ef58878fe004fa36c48588af5e12d5f;hp=b54ccd4f30e9c068be1453b62fb4caf9e45075cc;hb=e3f0445df1dcdd34189c9d48cbad67dd32764575;hpb=ab06f7444bf558d4a58e6ca617b1b4f55c6b00c7 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;