Fix resize handling on click on borders (did not correctly use orientation)

This commit is contained in:
Michael Stapelberg
2010-12-28 16:25:34 +01:00
parent d184587959
commit 028f7d2ca7
3 changed files with 68 additions and 47 deletions

View File

@ -139,6 +139,13 @@ int con_orientation(Con *con);
*/
Con *con_next_focused(Con *con);
/**
* Get the next/previous container in the specified orientation. This may
* travel up until it finds a container with suitable orientation.
*
*/
Con *con_get_next(Con *con, char way, orientation_t orientation);
/**
* Returns a "relative" Rect which contains the amount of pixels that need to
* be added to the original Rect to get the final position (obviously the