feat: add windowrule option isnoshadow,isnoanimation

This commit is contained in:
DreamMaoMao
2025-11-06 19:01:18 +08:00
parent 40b6f82823
commit 5b60999075
3 changed files with 18 additions and 1 deletions

View File

@@ -330,6 +330,8 @@ struct Client {
int is_scratchpad_show;
int isglobal;
int isnoborder;
int isnoshadow;
int isnoanimation;
int isopensilent;
int istagsilent;
int iskilling;
@@ -1134,6 +1136,8 @@ static void apply_rule_properties(Client *c, const ConfigWinRule *r) {
APPLY_INT_PROP(c, r, isfloating);
APPLY_INT_PROP(c, r, isfullscreen);
APPLY_INT_PROP(c, r, isnoborder);
APPLY_INT_PROP(c, r, isnoshadow);
APPLY_INT_PROP(c, r, isnoanimation);
APPLY_INT_PROP(c, r, isopensilent);
APPLY_INT_PROP(c, r, istagsilent);
APPLY_INT_PROP(c, r, isnamedscratchpad);