support isfakefullscreen as windowrule property

This commit is contained in:
Daniel Jampen 2026-02-08 17:56:26 +01:00
parent 4586319bef
commit 454145f6e0
No known key found for this signature in database
GPG key ID: 91EEAF846A824DDE
2 changed files with 9 additions and 0 deletions

View file

@ -1289,6 +1289,7 @@ static void apply_rule_properties(Client *c, const ConfigWinRule *r) {
APPLY_INT_PROP(c, r, no_force_center);
APPLY_INT_PROP(c, r, isfloating);
APPLY_INT_PROP(c, r, isfullscreen);
APPLY_INT_PROP(c, r, isfakefullscreen);
APPLY_INT_PROP(c, r, isnoborder);
APPLY_INT_PROP(c, r, isnoshadow);
APPLY_INT_PROP(c, r, isnoradius);
@ -1482,6 +1483,10 @@ void applyrules(Client *c) {
setfullscreen(c, fullscreen_state_backup);
if (c->isfakefullscreen) {
setfakefullscreen(c, 1);
}
/*
if there is a new non-floating window in the current tag, the fullscreen
window in the current tag will exit fullscreen and participate in tiling