Included option floating_minimum_size

Values cannot be negative or 0; if so uses the default 75x50.
Uses the same syntax as i3: floating_minimum_size <width> x <height>, although the x can be anything.
This commit is contained in:
Denis Doria 2016-06-01 13:37:50 +02:00
parent 4d6be1b640
commit 0ad7857f90
3 changed files with 40 additions and 1 deletions

View file

@ -178,6 +178,8 @@ static void config_defaults(struct sway_config *config) {
config->floating_minimum_width = 75;
config->floating_minimum_height = 50;
config->floating_minimum_size = strdup("");
// Flags
config->focus_follows_mouse = true;
config->mouse_warping = true;