diff -r 245eb72073c2 -r 90b25302c8ee dwm.c --- a/dwm.c Wed Jun 24 20:04:18 2009 +0100 +++ b/dwm.c Thu Jun 25 11:10:19 2009 +0100 @@ -1502,6 +1502,7 @@ detach(c); detachstack(c); c->mon = m; + c->tags = selmon->seltags; /* assign tags of target monitor */ attach(c); attachstack(c); m->sel = c;