]> git.sur5r.net Git - i3/i3/commit
Remove special handling of floating containers in con_next_focused 2941/head
authorOrestis Floros <orestisf1993@gmail.com>
Mon, 25 Sep 2017 11:00:43 +0000 (14:00 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Fri, 30 Mar 2018 15:29:33 +0000 (18:29 +0300)
commit791e407fd3ecbbfa478105c0025a3026f2fcbde8
tree3dc3a30305a4d39148bbe05c8c6fe8ab2a6fc933
parent2c6da57e81d1b6a14abfa8c76678e8060488fe7a
Remove special handling of floating containers in con_next_focused

Explanation for the changed test:
After $third is switched to floating, the test moves focus to $second.
So, the parent of $second (the stacked container) is above $third in the
focus stack and it's children ($first, $second) should get focused
before $second. When $second is switched to floating the correct focus
order for the workspace should be $second->parent (floating con is the
parent) > $first->parent (stacked con) > $third.

Fixes #1975
src/con.c
testcases/t/135-floating-focus.t
testcases/t/294-focus-order.t