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

@ -227,11 +227,12 @@ struct sway_config {
uint32_t background;
} border_colors;
// floating view minimum
// floating view
int32_t floating_maximum_width;
int32_t floating_maximum_height;
int32_t floating_minimum_width;
int32_t floating_minimum_height;
char *floating_minimum_size;
};
/**