[Differential] [Request, 13 lines] D2745: Don't bind ShellClient::acceptsFocus to whether the window is shown
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Mon Sep 12 09:05:36 UTC 2016
graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland, bshah.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY
A not shown window may accept focus (e.g. when minimized). Given that
the condition was wrong and broke when making minimized windows not
shown.
This change takes the idea of not passing focus to a closing or unmapped
window directly into acceptsFocus. Which also means that this condition
now works for xdg_shell windows.
BUG: 368673
REPOSITORY
rKWIN KWin
BRANCH
minimize-accepts-focus
REVISION DETAIL
https://phabricator.kde.org/D2745
AFFECTED FILES
autotests/integration/shell_client_test.cpp
shell_client.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #kwin, #plasma_on_wayland, bshah
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160912/eca0e2e2/attachment-0001.html>
More information about the Plasma-devel
mailing list