aboutsummaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-03-13 21:10:46 -0400
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-30 00:47:58 +0200
commitb903f7f655479b9ed095cf5b5950d963d525dd8c (patch)
treefe04ecc99f5ad6ca95ae1b445734e11c33cad114 /sway/container.c
parenta8e084433d57609398fd1b72b72d3d7e71925d44 (diff)
Implement some more on borders
Note that this segfaults ALL THE TIME in wlc code. Paging @Cloudef for help, I'm at a loss.
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;
}