focus: support focus_wrapping workspace

Following i3 support: https://github.com/i3/i3/pull/3407
This commit is contained in:
lbonn 2019-10-16 20:27:19 +02:00 committed by Simon Ser
parent 74c0e7921a
commit 3ee3a9ef60
4 changed files with 10 additions and 4 deletions

View file

@ -551,14 +551,16 @@ The default colors are:
If set to _smart_, the window will become focused only if it is already
visible, otherwise the urgent state will be set. Default is _smart_.
*focus_wrapping* yes|no|force
*focus_wrapping* yes|no|force|workspace
This option determines what to do when attempting to focus over the edge
of a container. If set to _no_, the focused container will retain focus,
if there are no other containers in the direction. If set to _yes_, focus
will be wrapped to the opposite edge of the container, if there are no
other containers in the direction. If set to _force_, focus will be wrapped
to the opposite edge of the container, even if there are other containers
in the direction. Default is _yes_.
in the direction. If set to _workspace_, focus will wrap like in the _yes_
case and additionally wrap when moving outside of workspaces boundaries.
Default is _yes_.
*font* [pango:]<font>
Sets font to use for the title bars. To enable support for pango markup,