fix: miss judge client want focus in applyrules

This commit is contained in:
DreamMaoMao 2025-08-23 10:24:20 +08:00
parent 0428afffe3
commit 9f9105a402

View file

@ -1197,7 +1197,7 @@ void applyrules(Client *c) {
c->isfloating = 1; c->isfloating = 1;
} }
int fullscreen_state_backup = c->isfullscreen; int fullscreen_state_backup = c->isfullscreen || client_wants_fullscreen(c);
setmon(c, mon, newtags, !c->isopensilent); setmon(c, mon, newtags, !c->isopensilent);
if (!c->isopensilent && c->mon && if (!c->isopensilent && c->mon &&