X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/ab06f7444bf558d4a58e6ca617b1b4f55c6b00c7..a73ff905b04a5f1dab6e0aface03317a81528a95:/dwm.c?ds=sidebyside diff --git a/dwm.c b/dwm.c index b54ccd4..26ec20b 100644 --- a/dwm.c +++ b/dwm.c @@ -1502,6 +1502,7 @@ tagmon(const Arg *arg) { detach(c); detachstack(c); c->mon = m; + c->tags = m->seltags; /* assign tags of target monitor */ attach(c); attachstack(c); m->sel = c;