summaryrefslogtreecommitdiffstats
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) {
22 c->gaps = -1; 22 c->gaps = -1;
23 c->layout = L_NONE; 23 c->layout = L_NONE;
24 c->type = type; 24 c->type = type;
25 c->border_type = B_PIXEL; // TODO: Load default from config
26 c->border_thickness = 2;
25 if (type != C_VIEW) { 27 if (type != C_VIEW) {
26 c->children = create_list(); 28 c->children = create_list();
29 c->border_type = B_NONE;
27 } 30 }
28 return c; 31 return c;
29} 32}