feat: add winrule option nofadein
This commit is contained in:
@@ -36,6 +36,7 @@ typedef struct {
|
||||
int offsety;
|
||||
int width;
|
||||
int height;
|
||||
int nofadein;
|
||||
int isterm;
|
||||
int noswallow;
|
||||
int scratchpad_width;
|
||||
@@ -1099,6 +1100,7 @@ void parse_config_line(Config *config, const char *line) {
|
||||
rule->monitor = 0;
|
||||
rule->offsetx = 0;
|
||||
rule->offsety = 0;
|
||||
rule->nofadein = 0;
|
||||
rule->scratchpad_width = 0;
|
||||
rule->scratchpad_height = 0;
|
||||
rule->width = 0;
|
||||
@@ -1140,7 +1142,9 @@ void parse_config_line(Config *config, const char *line) {
|
||||
rule->offsetx = atoi(val);
|
||||
} else if (strcmp(key, "offsety") == 0) {
|
||||
rule->offsety = atoi(val);
|
||||
} else if (strcmp(key, "scratchpad_width") == 0) {
|
||||
} else if (strcmp(key, "nofadein") == 0) {
|
||||
rule->nofadein = atoi(val);
|
||||
} else if (strcmp(key, "scratchpad_width") == 0) {
|
||||
rule->scratchpad_width = atoi(val);
|
||||
} else if (strcmp(key, "scratchpad_height") == 0) {
|
||||
rule->scratchpad_height = atoi(val);
|
||||
|
||||
Reference in New Issue
Block a user