summaryrefslogtreecommitdiffstats
path: root/sway/container.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-03-13 21:10:46 -0400
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-30 00:47:58 +0200
commitb903f7f655479b9ed095cf5b5950d963d525dd8c (patch)
treefe04ecc99f5ad6ca95ae1b445734e11c33cad114 /sway/container.c
parentWindow borders proof of concept (diff)
downloadsway-b903f7f655479b9ed095cf5b5950d963d525dd8c.tar.gz
sway-b903f7f655479b9ed095cf5b5950d963d525dd8c.tar.zst
sway-b903f7f655479b9ed095cf5b5950d963d525dd8c.zip
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) {
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}