mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-01 22:58:44 -04:00
opt: default maximize all client
This commit is contained in:
parent
a89d999ad6
commit
b606c325c8
3 changed files with 14 additions and 18 deletions
|
|
@ -50,6 +50,7 @@ typedef struct {
|
|||
int isunglobal;
|
||||
int isglobal;
|
||||
int isoverlay;
|
||||
int ignore_maximize;
|
||||
int isnosizehint;
|
||||
const char *monitor;
|
||||
int offsetx;
|
||||
|
|
@ -1408,6 +1409,7 @@ void parse_config_line(Config *config, const char *line) {
|
|||
rule->isunglobal = -1;
|
||||
rule->isglobal = -1;
|
||||
rule->isoverlay = -1;
|
||||
rule->ignore_maximize = -1;
|
||||
rule->isnosizehint = -1;
|
||||
rule->isterm = -1;
|
||||
rule->noswallow = -1;
|
||||
|
|
@ -1491,6 +1493,8 @@ void parse_config_line(Config *config, const char *line) {
|
|||
rule->focused_opacity = atof(val);
|
||||
} else if (strcmp(key, "isoverlay") == 0) {
|
||||
rule->isoverlay = atoi(val);
|
||||
} else if (strcmp(key, "ignore_maximize") == 0) {
|
||||
rule->ignore_maximize = atoi(val);
|
||||
} else if (strcmp(key, "isnosizehint") == 0) {
|
||||
rule->isnosizehint = atoi(val);
|
||||
} else if (strcmp(key, "isterm") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue