mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-19 14:33:16 -04:00
Merge 46a5d4445b into adc1239075
This commit is contained in:
commit
fef2acaedc
2 changed files with 13 additions and 1 deletions
|
|
@ -78,6 +78,7 @@ typedef struct {
|
|||
int32_t ignore_maximize;
|
||||
int32_t ignore_minimize;
|
||||
int32_t isnosizehint;
|
||||
int32_t atstartup;
|
||||
int32_t idleinhibit_when_focus;
|
||||
char *monitor;
|
||||
int32_t offsetx;
|
||||
|
|
@ -2355,6 +2356,7 @@ bool parse_option(Config *config, char *key, char *value) {
|
|||
rule->isnosizehint = -1;
|
||||
rule->idleinhibit_when_focus = -1;
|
||||
rule->isterm = -1;
|
||||
rule->atstartup = -1;
|
||||
rule->allow_csd = -1;
|
||||
rule->force_fakemaximize = -1;
|
||||
rule->force_tiled_state = -1;
|
||||
|
|
@ -2486,6 +2488,8 @@ bool parse_option(Config *config, char *key, char *value) {
|
|||
rule->isfullscreen = atoi(val);
|
||||
} else if (strcmp(key, "isfakefullscreen") == 0) {
|
||||
rule->isfakefullscreen = atoi(val);
|
||||
} else if (strcmp(key, "atstartup") == 0) {
|
||||
rule->atstartup = atoi(val);
|
||||
} else if (strcmp(key, "globalkeybinding") == 0) {
|
||||
char mod_str[256], keysym_str[256];
|
||||
sscanf(val, "%255[^-]-%255[a-zA-Z]", mod_str, keysym_str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue