summaryrefslogtreecommitdiffhomepage
path: root/patch/riodraw.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-07-24 16:56:51 +0200
committerbakkeby <[email protected]>2021-07-24 16:56:51 +0200
commitd72bc90cdc231ebf71530d1cd17e63b5cdf8eb96 (patch)
treed31b452d33a292048df18fa3b988e38804bf4fa7 /patch/riodraw.c
parent73a29521e41809d92031176fc6cab87efdb4e581 (diff)
downloaddwm-flexipatch-d72bc90cdc231ebf71530d1cd17e63b5cdf8eb96.tar.gz
dwm-flexipatch-d72bc90cdc231ebf71530d1cd17e63b5cdf8eb96.zip
rioresize: apply an arrange if changing monitors
Diffstat (limited to 'patch/riodraw.c')
-rw-r--r--patch/riodraw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/patch/riodraw.c b/patch/riodraw.c
index c430f5c..aebf726 100644
--- a/patch/riodraw.c
+++ b/patch/riodraw.c
@@ -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) {
detach(c);
detachstack(c);
+ arrange(c->mon);
c->mon = m;
c->tags = m->tagset[m->seltags];
attach(c);