mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-02 09:01:43 -05:00
feat: add isnosizehit option to windowrule
This commit is contained in:
parent
c6102ddca1
commit
7f32adbdd9
3 changed files with 13 additions and 4 deletions
|
|
@ -50,6 +50,7 @@ typedef struct {
|
|||
int isunglobal;
|
||||
int isglobal;
|
||||
int isoverlay;
|
||||
int isnosizehint;
|
||||
const char *monitor;
|
||||
int offsetx;
|
||||
int offsety;
|
||||
|
|
@ -1415,6 +1416,7 @@ void parse_config_line(Config *config, const char *line) {
|
|||
rule->isunglobal = -1;
|
||||
rule->isglobal = -1;
|
||||
rule->isoverlay = -1;
|
||||
rule->isnosizehint = -1;
|
||||
rule->isterm = -1;
|
||||
rule->noswallow = -1;
|
||||
rule->noblur = -1;
|
||||
|
|
@ -1497,6 +1499,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, "isnosizehint") == 0) {
|
||||
rule->isnosizehint = atoi(val);
|
||||
} else if (strcmp(key, "isterm") == 0) {
|
||||
rule->isterm = atoi(val);
|
||||
} else if (strcmp(key, "noswallow") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue