Obey minimum size when resizing floating windows

Fixes #285
This commit is contained in:
Michael Stapelberg
2011-03-06 14:15:46 +01:00
parent 1891a385ad
commit 51ff0f80a6
3 changed files with 68 additions and 5 deletions

View File

@ -195,4 +195,11 @@ int con_border_style(Con *con);
*/
void con_set_layout(Con *con, int layout);
/**
* Determines the minimum size of the given con by looking at its children (for
* split/stacked/tabbed cons). Will be called when resizing floating cons
*
*/
Rect con_minimum_size(Con *con);
#endif