diff options
author | Vlad Zahorodnii <vlad.zahorodnii@kde.org> | 2023-02-21 18:41:11 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-02-22 15:17:18 +0000 |
commit | d94a128c1eda4cb2bbe0d8b2628029b12bc194cb (patch) | |
tree | 859af40fcd6fe8cb9ffb307549eff8ebc36c02a0 /.gitattributes | |
parent | bca62233b707c3d0b167417aaa4df58bf44360d4 (diff) | |
download | qtwayland-d94a128c1eda4cb2bbe0d8b2628029b12bc194cb.tar.gz |
Client: Stop requesting activation on every focus object change
Currently, windows with xdg-toplevel surface role request window activation
every time the focus object changes. It conflicts with the compositor's
activation and stacking order policies.
For example, when a window is minimized, the compositor will start an
animation and move focus to the next window. If that window activates
itself, it can be raised in the stack and start covering the minimized
window, thus making it look as if no animation is played at all.
This activation logic was introduced as part of qt-shell activation
model in d89c8920f3b82dd2098971b5a66c4b9c75da5af0. On the other hand,
with the introduction of the xdg-activation-v1 protocol, there is a
better way to pass input focus, so drop the qt-shell hack in favor of
that.
Fixes: QTBUG-111377
Change-Id: I8ed19f1be17f49fa9748b1cb5fdd0070791d2ecd
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit 2fa2a5184dcdf54a7868d73418ed141713587969)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions