Initial work for floating view with sane values

This commit is contained in:
Denis Doria 2016-05-31 14:59:33 +02:00
parent 9d7d73df7f
commit f1d5b89d3e
5 changed files with 40 additions and 0 deletions

View file

@ -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;