]> git.lizzy.rs Git - bspwm.git/blobdiff - rule.c
Turn the *border_width* setting into a desktop/window setting
[bspwm.git] / rule.c
diff --git a/rule.c b/rule.c
index 5643a078a88b40c29e41e46be54b66b82f55e0ae..0b0e6bf7f416aceb2a7577b83230c1c0179a74c3 100644 (file)
--- 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)