gri3-wm/testcases
Michael Stapelberg d641e1da3b Don’t force wrapping when focusing in a direction would work (+test)
Think of the following layout:

 -------------
 | tab |     |
 | con | win |
 |     |     |
 -------------

The tabbed container on the left has two children. Assume you have focused the
second/right child in the tabbed container. i3 used to focus the first/left
container of the tabbed container when using 'focus right' (it wrapped focus).

With this commit, the default behaviour is to instead focus the window on the
right of the screen.

The intention is to make focus switching more intuitive, especially with tabbed
containers supporting 'focus left'/'focus right' in tree. You should end up
using less 'focus parent' :).

You can force the old behaviour with 'force_focus_wrapping true' in your
config.

Code coverage is 62.5% with this commit.
2011-06-12 12:56:50 +02:00
..
t Don’t force wrapping when focusing in a direction would work (+test) 2011-06-12 12:56:50 +02:00
Makefile implement make clean in testcases/ 2011-01-28 01:12:56 +01:00
complete-run.pl tests: add test for the for_window config directive, use separate config for tests 2011-05-16 21:50:34 +02:00
i3-test.config tests: also test multiple commands in for_window 2011-05-16 22:03:07 +02:00