Add "focus_wrapping" option

Fixes #2352.
This commit is contained in:
Vladimir Panteleev
2017-09-15 02:57:55 +00:00
parent 536f60e230
commit 28f7e14650
9 changed files with 96 additions and 7 deletions

View File

@ -675,7 +675,7 @@ static bool _tree_next(Con *con, char way, orientation_t orientation, bool wrap)
*
*/
void tree_next(char way, orientation_t orientation) {
_tree_next(focused, way, orientation, true);
_tree_next(focused, way, orientation, config.focus_wrapping);
}
/*