feat: add isglobal to winrule
This commit is contained in:
@@ -27,6 +27,7 @@ typedef struct {
|
||||
const char *animation_type_close;
|
||||
int isnoborder;
|
||||
int isopensilent;
|
||||
int isglobal;
|
||||
int monitor;
|
||||
int offsetx;
|
||||
int offsety;
|
||||
@@ -1059,6 +1060,7 @@ void parse_config_line(Config *config, const char *line) {
|
||||
rule->isfullscreen = -1;
|
||||
rule->isnoborder = -1;
|
||||
rule->isopensilent = -1;
|
||||
rule->isglobal = -1;
|
||||
rule->isterm = -1;
|
||||
rule->noswallow = -1;
|
||||
rule->monitor = -1;
|
||||
@@ -1117,6 +1119,8 @@ void parse_config_line(Config *config, const char *line) {
|
||||
rule->isnoborder = atoi(val);
|
||||
} else if (strcmp(key, "isopensilent") == 0) {
|
||||
rule->isopensilent = atoi(val);
|
||||
} else if (strcmp(key, "isglobal") == 0) {
|
||||
rule->isglobal = atoi(val);
|
||||
} else if (strcmp(key, "isterm") == 0) {
|
||||
rule->isterm = atoi(val);
|
||||
} else if (strcmp(key, "noswallow") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user