feat: add windowrule option isnoradius

This commit is contained in:
DreamMaoMao 2025-12-20 11:39:53 +08:00
parent df0e18481b
commit 471c71f65c
3 changed files with 11 additions and 2 deletions

View file

@ -64,6 +64,7 @@ typedef struct {
const char *layer_animation_type_close;
int isnoborder;
int isnoshadow;
int isnoradius;
int isnoanimation;
int isopensilent;
int istagsilent;
@ -1705,6 +1706,7 @@ void parse_option(Config *config, char *key, char *value) {
rule->isfullscreen = -1;
rule->isnoborder = -1;
rule->isnoshadow = -1;
rule->isnoradius = -1;
rule->isnoanimation = -1;
rule->isopensilent = -1;
rule->istagsilent = -1;
@ -1794,6 +1796,8 @@ void parse_option(Config *config, char *key, char *value) {
rule->isnoborder = atoi(val);
} else if (strcmp(key, "isnoshadow") == 0) {
rule->isnoshadow = atoi(val);
} else if (strcmp(key, "isnoradius") == 0) {
rule->isnoradius = atoi(val);
} else if (strcmp(key, "isnoanimation") == 0) {
rule->isnoanimation = atoi(val);
} else if (strcmp(key, "isopensilent") == 0) {