]> git.sur5r.net Git - i3/i3/commit
Use con_descend_focused for workspaces in _tree_next 2980/head
authorOrestis Floros <orestisf1993@gmail.com>
Sun, 24 Sep 2017 07:05:04 +0000 (10:05 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Thu, 28 Sep 2017 13:48:50 +0000 (16:48 +0300)
commitaf78331ee774a0021ed07f8b1d5d41fc8ffcd837
treefee3194528b08e968e1dbe84159d36dca5e4fab9
parenta05773e18bb53c0c67fdfa493e2b92372ea21c4a
Use con_descend_focused for workspaces in _tree_next

This way, when changing focus between outputs, the directional focus
command will focus the focused window within the parent container that
is next in the given direction.

Previously, the next window of the given direction was focused which is
Inconsistent with changing focus inside the same output.

Fixes #1160.
src/tree.c
testcases/t/510-focus-across-outputs.t