Skip to content

Correct traversal order in FocusChain::moveAfterWindowInChain()

The first item in the chain list corresponds to the last item in the focus chain. The last item in the chain list corresponds to the first item in the focus chain.

Given that, we need to traverse the list from the start to the end in order to find the first window owned by the same app as reference.

Merge request reports