aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-05-31 10:29:44 -0400
committerDrew DeVault <sir@cmpwn.com>2016-05-31 10:29:44 -0400
commitdf8caa29a71f041a8e94ff410274a598abfe9a81 (patch)
tree9665fbaac9e2f7d099d7c54715404032ea406551 /sway/config.c
parent7f6b3d1c1f0727c8db623c18cc8a4fd948be995d (diff)
parent3c4c62301290991b790b90c840d18b398e0522c8 (diff)
Merge pull request #685 from thuck/floating_size
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;