aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorDenis Doria <denisdoria@gmail.com>2016-05-31 14:59:33 +0200
committerDenis Doria <denisdoria@gmail.com>2016-05-31 14:59:33 +0200
commitf1d5b89d3eabf0af267ed4a385079d616a82d2aa (patch)
treedc5017d0adbd1168c936d66faf34b82c2eb010b3 /sway/config.c
parent9d7d73df7f7888a3ea8420662fa5aa2ef6e3bd82 (diff)
Initial work for floating view with sane values
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 14b657ef..95285eba 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -172,6 +172,12 @@ static void config_defaults(struct sway_config *config) {
config->font = strdup("monospace 10");
config->font_height = get_font_text_height(config->font);
+ // floating view
+ config->floating_maximum_width = -1;
+ config->floating_maximum_height = -1;
+ config->floating_minimum_width = 75;
+ config->floating_minimum_height = 50;
+
// Flags
config->focus_follows_mouse = true;
config->mouse_warping = true;