Skip to content

layer-shell: Adjust focus order to match rendering and input

Sebastian Krzyszkowiak requested to merge dos/phoc:focus-order into master

In commit 4198fb6e focus order has been updated, but wrongly - instead of actually making it match the rendering and input order, it simply traded surfaces with no exclusive zones being broken with surfaces with exclusive zones being broken. Fix that by actually handling both cases correctly.

Fixes: 4198fb6e ("layer-shell: Update focus order in arrange_layers")

Merge request reports