aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorLuminarys <kizunanohikari@gmail.com>2015-08-27 21:52:59 -0500
committerLuminarys <kizunanohikari@gmail.com>2015-08-27 21:52:59 -0500
commitacb3fbdfb559e461aaac6d357146f43c4e9c3d38 (patch)
tree7aac4f1730b810fbe620ba5e70e15a51c46d24d5 /sway/config.c
parent0a74364656ff7e36d276373a3e159e86784363d7 (diff)
Added in default_orientation handling
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 53fc860a..08b14f84 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -27,6 +27,8 @@ 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->default_layout = L_NONE;
+ config->default_orientation = L_NONE;
// Flags
config->focus_follows_mouse = true;
config->mouse_warping = true;