mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
rioresize: apply an arrange if changing monitors
This commit is contained in:
parent
73a29521e4
commit
d72bc90cdc
@ -57,6 +57,7 @@ rioposition(Client *c, int x, int y, int w, int h)
|
|||||||
if ((m = recttomon(x, y, w, h)) && m != c->mon) {
|
if ((m = recttomon(x, y, w, h)) && m != c->mon) {
|
||||||
detach(c);
|
detach(c);
|
||||||
detachstack(c);
|
detachstack(c);
|
||||||
|
arrange(c->mon);
|
||||||
c->mon = m;
|
c->mon = m;
|
||||||
c->tags = m->tagset[m->seltags];
|
c->tags = m->tagset[m->seltags];
|
||||||
attach(c);
|
attach(c);
|
||||||
|
Loading…
Reference in New Issue
Block a user