Treat stacking containers as if they are in vertical orientation, add testcase

This commit is contained in:
Michael Stapelberg
2010-07-17 01:27:47 +02:00
parent 09c6b587d3
commit 69e5c0f6ce
4 changed files with 88 additions and 2 deletions

View File

@ -113,4 +113,12 @@ void con_toggle_fullscreen(Con *con);
*/
void con_move_to_workspace(Con *con, Con *workspace);
/**
* Returns the orientation of the given container (for stacked containers,
* vertical orientation is used regardless of the actual orientation of the
* container).
*
*/
int con_orientation(Con *con);
#endif