mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-20 05:34:39 -04:00
feat: add windowrule option isnoradius
This commit is contained in:
parent
df0e18481b
commit
471c71f65c
3 changed files with 11 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue