feat: winrule option no_force_center
This commit is contained in:
@@ -37,6 +37,7 @@ typedef struct {
|
||||
int width;
|
||||
int height;
|
||||
int nofadein;
|
||||
int no_force_center;
|
||||
int isterm;
|
||||
int noswallow;
|
||||
int scratchpad_width;
|
||||
@@ -1101,6 +1102,7 @@ void parse_config_line(Config *config, const char *line) {
|
||||
rule->offsetx = 0;
|
||||
rule->offsety = 0;
|
||||
rule->nofadein = 0;
|
||||
rule->no_force_center = 0;
|
||||
rule->scratchpad_width = 0;
|
||||
rule->scratchpad_height = 0;
|
||||
rule->width = 0;
|
||||
@@ -1144,7 +1146,9 @@ void parse_config_line(Config *config, const char *line) {
|
||||
rule->offsety = atoi(val);
|
||||
} else if (strcmp(key, "nofadein") == 0) {
|
||||
rule->nofadein = atoi(val);
|
||||
} else if (strcmp(key, "scratchpad_width") == 0) {
|
||||
} else if (strcmp(key, "no_force_center") == 0) {
|
||||
rule->no_force_center = 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