aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-31 12:17:21 +0200
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-31 12:42:20 +0200
commit7be476c115d4890f15503853aa36cf0059c8fca8 (patch)
tree07a3e095719d9bfbd2206e17e33e4abade2bf86d /sway/config.c
parent6db92bbb99461791156b702fc84605f419707384 (diff)
Add cmds new_window and new_float
Makes it possible to set default layout style for new windows and new floating windows. Close #556
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index f6241a3d..a917d348 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -187,7 +187,9 @@ static void config_defaults(struct sway_config *config) {
// borders
config->border = B_NORMAL;
+ config->floating_border = B_NORMAL;
config->border_thickness = 2;
+ config->floating_border_thickness = 2;
config->hide_edge_borders = E_NONE;
// border colors