--- dwm.c	2022-01-07 12:42:18.000000000 +0100
+++ dwm.c	2022-08-17 22:14:41.813809073 +0200
@@ -1913,7 +1923,7 @@ updategeom(void)
 					m->clients = c->next;
 					detachstack(c);
 					c->mon = mons;
-					attach(c);
+					attachbottom(c);
 					attachstack(c);
 				}
 				if (m == selmon)