summaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/container.c b/sway/container.c
index 9330a3de..ac0d3231 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -22,8 +22,11 @@ static swayc_t *new_swayc(enum swayc_types type) {
c->gaps = -1;
c->layout = L_NONE;
c->type = type;
+ c->border_type = B_PIXEL; // TODO: Load default from config
+ c->border_thickness = 2;
if (type != C_VIEW) {
c->children = create_list();
+ c->border_type = B_NONE;
}
return c;
}