From b903f7f655479b9ed095cf5b5950d963d525dd8c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 13 Mar 2016 21:10:46 -0400 Subject: Implement some more on borders Note that this segfaults ALL THE TIME in wlc code. Paging @Cloudef for help, I'm at a loss. --- sway/container.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sway/container.c') 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; } -- cgit v1.2.3