https://bugs.kde.org/show_bug.cgi?id=411356

Vlad Zahorodnii <vladz...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.17.0
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/9102e41e71ce81ea72d6a2575
                   |                            |c1b8cedd37087fb
             Status|CONFIRMED                   |RESOLVED

--- Comment #2 from Vlad Zahorodnii <vladz...@gmail.com> ---
Git commit 9102e41e71ce81ea72d6a2575c1b8cedd37087fb by Vlad Zagorodniy.
Committed on 31/08/2019 at 10:47.
Pushed by vladz into branch 'master'.

Traverse the stacking order backwards when switching between windows

Summary:
In order to pick the next client to activate we traverse the stacking
order from bottom to top and assign to each client a score. The client
with the best score will be activated next. Function that assigns score
bases its decisions purely on geometry. This may backfire if there are
couple maximized or fullscreen clients on the screen - we'll activate
the bottom-most client.

This change toggles direction we traverse the stacking order. If there
are several clients with an identical score, then prefer the top-most
client, the one that the user most likely sees at the moment.
FIXED-IN: 5.17.0

Test Plan: New tests pass.

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D23521

M  +1    -0    autotests/integration/CMakeLists.txt
A  +585  -0    autotests/integration/activation_test.cpp     [License: GPL
(v2)]
M  +1    -1    useractions.cpp

https://commits.kde.org/kwin/9102e41e71ce81ea72d6a2575c1b8cedd37087fb

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to