aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-08-28 14:45:40 -0700
committertaiyu <taiyu.len@gmail.com>2015-08-28 14:45:40 -0700
commite0d548695763864ecf13b0620dad92610d2f14c8 (patch)
treeeea766039976056dca226fa2604c70f89da64d52 /sway/config.c
parentda2d992563424d629b7813d9490420060ec271b6 (diff)
default floating_mod
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 08b14f84..f10c73b2 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -27,6 +27,7 @@ void config_defaults(struct sway_config *config) {
config->current_mode->name = NULL;
config->current_mode->bindings = create_list();
list_add(config->modes, config->current_mode);
+ config->floating_mod = 0;
config->default_layout = L_NONE;
config->default_orientation = L_NONE;
// Flags
@@ -35,6 +36,7 @@ void config_defaults(struct sway_config *config) {
config->reloading = false;
config->active = false;
config->failed = false;
+
config->gaps_inner = 0;
config->gaps_outer = 0;
}