X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=testcases%2Ft%2F294-focus-order.t;h=6b16540c85d68e17285969962687ac6ea17e8867;hb=refs%2Fpull%2F3444%2Fhead;hp=b5d3514abbfbdd7d2eb8ba0bb92cc7fa81489695;hpb=9380a75186f8d2adcf572a3741168f12351faa9b;p=i3%2Fi3 diff --git a/testcases/t/294-focus-order.t b/testcases/t/294-focus-order.t index b5d3514a..6b16540c 100644 --- a/testcases/t/294-focus-order.t +++ b/testcases/t/294-focus-order.t @@ -125,6 +125,22 @@ $windows[0] = open_window; cmd '[id=' . $windows[3]->id . '] move right'; confirm_focus('unfocused move from other output'); +##################################################################### +# Test that moving an unfocused container inside its original parent +# maintains the correct focus order. +##################################################################### + +fresh_workspace; +$windows[0] = open_window; +$windows[1] = open_window; +cmd 'split v'; +$windows[2] = open_window; +$windows[3] = open_window; +focus_windows; + +cmd '[id=' . $windows[2]->id . '] move up'; +confirm_focus('split-v + unfocused move inside parent'); + ###################################################################### # Test that moving an unfocused container maintains the correct focus # order.