[Differential] [Request, 33 lines] D2083: Use hiddenInternal() for a ShellClient which got unmapped
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Mon Jul 4 13:36:33 UTC 2016
graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY
So far when a ShellClient got unmapped ready_for_painting was set to
false. That is the ShellClient was treated in the same way as a not
yet shown window. It was completely excluded from painting, a close
animation impossible.
This change makes use of the functionality available in
Client::hiddenInternal(). The window is considered as hidden, thus
still excluded from e.g. getting input events, but could be rendered
any time as we still have a previous window pixmap (if referenced).
This allows to have it considered in the rendering pass, but effects
still cannot make use of it as that state is not yet exposed to the
effects.
REPOSITORY
rKWIN KWin
BRANCH
shell-client-window-hidden
REVISION DETAIL
https://phabricator.kde.org/D2083
AFFECTED FILES
abstract_client.h
autotests/integration/shell_client_test.cpp
client.h
composite.cpp
input.cpp
scene.cpp
shell_client.cpp
shell_client.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #kwin, #plasma_on_wayland
Cc: plasma-devel, kwin, hardening, jensreuterberg, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160704/c142e6f8/attachment-0001.html>
More information about the Plasma-devel
mailing list