change: isopenscratchpad windowrule change name to isnamedscratchpad

This commit is contained in:
DreamMaoMao 2025-07-06 14:02:26 +08:00
parent 64682c1bd4
commit 3a5cd857f0
3 changed files with 38 additions and 40 deletions

View file

@ -44,7 +44,7 @@ typedef struct {
const char *animation_type_close;
int isnoborder;
int isopensilent;
int isopenscratchpad;
int isnamedscratchpad;
int isunglobal;
int isglobal;
int isoverlay;
@ -1384,7 +1384,7 @@ void parse_config_line(Config *config, const char *line) {
rule->isfullscreen = -1;
rule->isnoborder = -1;
rule->isopensilent = -1;
rule->isopenscratchpad = -1;
rule->isnamedscratchpad = -1;
rule->isunglobal = -1;
rule->isglobal = -1;
rule->isoverlay = -1;
@ -1457,8 +1457,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, "isopenscratchpad") == 0) {
rule->isopenscratchpad = atoi(val);
} else if (strcmp(key, "isnamedscratchpad") == 0) {
rule->isnamedscratchpad = atoi(val);
} else if (strcmp(key, "isunglobal") == 0) {
rule->isunglobal = atoi(val);
} else if (strcmp(key, "isglobal") == 0) {