sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 33a74bfb9323958c2fb1e1081c92ba1b683a6a5d
parent ed46fa7230e69ce07c9437fac9d9599c377e19bc
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 25 Dec 2015 14:52:14 -0700

Merge pull request #408 from mikkeloscar/add-focus-sibling

Focus new sibling added to container
Diffstat:
Msway/layout.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sway/layout.c b/sway/layout.c @@ -99,6 +99,8 @@ swayc_t *add_sibling(swayc_t *fixed, swayc_t *active) { list_insert(parent->children, i + 1, active); } active->parent = parent; + // focus new child + parent->focused = active; return active->parent; }