fix: miss judge client want focus in applyrules

This commit is contained in:
DreamMaoMao 2025-08-23 10:24:20 +08:00
parent 53128416d6
commit 13603789a2

View file

@ -1188,7 +1188,7 @@ void applyrules(Client *c) {
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);
if (!c->isopensilent && c->mon &&