Bugfix: Retain absolute window position and size when changing floating borders (Thanks binzter)
Fixes: #561
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user