From f1d5b89d3eabf0af267ed4a385079d616a82d2aa Mon Sep 17 00:00:00 2001 From: Denis Doria Date: Tue, 31 May 2016 14:59:33 +0200 Subject: Initial work for floating view with sane values --- sway/config.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sway/config.c') 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; -- cgit v1.2.3