X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=rule.c;h=0b0e6bf7f416aceb2a7577b83230c1c0179a74c3;hb=d59fadd8ce289a4c573c382471032d351bc10782;hp=5643a078a88b40c29e41e46be54b66b82f55e0ae;hpb=b9dcab19003ed8af9e048b0796176731597daacc;p=bspwm.git diff --git a/rule.c b/rule.c index 5643a07..0b0e6bf 100644 --- a/rule.c +++ b/rule.c @@ -282,6 +282,8 @@ void parse_key_value(char *key, char *value, rule_consequence_t *csq) snprintf(csq->desktop_desc, sizeof(csq->desktop_desc), "%s", value); } else if (streq("window", key)) { snprintf(csq->node_desc, sizeof(csq->node_desc), "%s", value); + } else if (streq("split_dir", key)) { + snprintf(csq->split_dir, sizeof(csq->split_dir), "%s", value); } else if (parse_bool(value, &v)) { if (streq("floating", key)) csq->floating = v; @@ -294,7 +296,6 @@ void parse_key_value(char *key, char *value, rule_consequence_t *csq) SETCSQ(sticky) SETCSQ(private) SETCSQ(center) - SETCSQ(lower) SETCSQ(follow) SETCSQ(manage) SETCSQ(focus)