X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dwm.c;h=26ec20b34f90cf2b67bb2d0e030c793b461c0024;hb=a73ff905b04a5f1dab6e0aface03317a81528a95;hp=645951200ef58878fe004fa36c48588af5e12d5f;hpb=e3f0445df1dcdd34189c9d48cbad67dd32764575;p=dwm.git diff --git a/dwm.c b/dwm.c index 6459512..26ec20b 100644 --- a/dwm.c +++ b/dwm.c @@ -1502,7 +1502,7 @@ tagmon(const Arg *arg) { detach(c); detachstack(c); c->mon = m; - c->tags = selmon->seltags; /* assign tags of target monitor */ + c->tags = m->seltags; /* assign tags of target monitor */ attach(c); attachstack(c); m->sel = c;