Bugfix: Retain absolute window position and size when changing floating borders (Thanks binzter)

Fixes: #561
This commit is contained in:
Michael Stapelberg
2011-11-26 21:18:23 +00:00
parent c36042dfb1
commit 970d11709e
3 changed files with 58 additions and 3 deletions

View File

@ -233,6 +233,13 @@ Rect con_border_style_rect(Con *con);
*/
int con_border_style(Con *con);
/**
* Sets the given border style on con, correctly keeping the position/size of a
* floating window.
*
*/
void con_set_border_style(Con *con, int border_style);
/**
* This function changes the layout of a given container. Use it to handle
* special cases like changing a whole workspace to stacked/tabbed (creates a