mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-05 01:40:57 -05:00
support isfakefullscreen as windowrule property
This commit is contained in:
parent
d8b8d71fed
commit
52703a638f
2 changed files with 9 additions and 0 deletions
|
|
@ -1307,6 +1307,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, isnoanimation);
|
||||
|
|
@ -1506,6 +1507,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue