diff options
author | 2016-05-31 14:59:33 +0200 | |
---|---|---|
committer | 2016-05-31 14:59:33 +0200 | |
commit | f1d5b89d3eabf0af267ed4a385079d616a82d2aa (patch) | |
tree | dc5017d0adbd1168c936d66faf34b82c2eb010b3 /sway/config.c | |
parent | sway: fix IPC resource leak (diff) | |
download | sway-f1d5b89d3eabf0af267ed4a385079d616a82d2aa.tar.gz sway-f1d5b89d3eabf0af267ed4a385079d616a82d2aa.tar.zst sway-f1d5b89d3eabf0af267ed4a385079d616a82d2aa.zip |
Initial work for floating view with sane values
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 6 |
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) { | |||
172 | config->font = strdup("monospace 10"); | 172 | config->font = strdup("monospace 10"); |
173 | config->font_height = get_font_text_height(config->font); | 173 | config->font_height = get_font_text_height(config->font); |
174 | 174 | ||
175 | // floating view | ||
176 | config->floating_maximum_width = -1; | ||
177 | config->floating_maximum_height = -1; | ||
178 | config->floating_minimum_width = 75; | ||
179 | config->floating_minimum_height = 50; | ||
180 | |||
175 | // Flags | 181 | // Flags |
176 | config->focus_follows_mouse = true; | 182 | config->focus_follows_mouse = true; |
177 | config->mouse_warping = true; | 183 | config->mouse_warping = true; |