21 lines
457 B
Text
21 lines
457 B
Text
|
--- dwm.c
|
||
|
+++ dwm.c
|
||
|
@@ -1461,7 +1485,7 @@ sendmon(Client *c, Monitor *m)
|
||
|
detachstack(c);
|
||
|
c->mon = m;
|
||
|
c->tags = m->tagset[m->seltags]; /* assign tags of target monitor */
|
||
|
- attach(c);
|
||
|
+ attachaside(c);
|
||
|
attachstack(c);
|
||
|
focus(NULL);
|
||
|
arrange(NULL);
|
||
|
@@ -1914,7 +1938,7 @@ updategeom(void)
|
||
|
m->clients = c->next;
|
||
|
detachstack(c);
|
||
|
c->mon = mons;
|
||
|
- attach(c);
|
||
|
+ attachaside(c);
|
||
|
attachstack(c);
|
||
|
}
|
||
|
if (m == selmon)
|