From 2bd766c987bf57c418d446775234ab044a89a56a Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Thu, 17 Apr 2025 22:51:29 +0800 Subject: [PATCH] opt: fullscreen apply behind floating in window rule --- maomao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maomao.c b/maomao.c index b71bf7b..f730b0a 100644 --- a/maomao.c +++ b/maomao.c @@ -5267,8 +5267,8 @@ setmon(Client *c, Monitor *m, uint32_t newtags,bool focus) /* Make sure window actually overlaps with the monitor */ resize(c, c->geom, 0); c->tags = newtags ? newtags : m->tagset[m->seltags]; /* assign tags of target monitor */ - setfullscreen(c, c->isfullscreen); /* This will call arrange(c->mon) */ setfloating(c, c->isfloating); + setfullscreen(c, c->isfullscreen); /* This will call arrange(c->mon) */ } if(focus) focusclient(focustop(selmon), 1);