[Differential] [Request, 63 lines] D1621: [client] Ensure PlasmaWindowManagement updates active window if it goes away
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Tue May 17 07:02:15 UTC 2016
graesslin created this revision.
graesslin added reviewers: Plasma, hein.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
So far when the active PlasmaWindow got unmapped or destroyed, the
PlasmaWindowManagement didn't update the activeWindow. This means it
could expose a deleted object through it's API which could result in
a crash.
This change addresses the problem by updating the active window when
a window gets unmapped or destroyed.
TEST PLAN
Tests added which exposed the problem
REPOSITORY
rKWAYLAND KWayland
BRANCH
active-window-cleanup
REVISION DETAIL
https://phabricator.kde.org/D1621
AFFECTED FILES
autotests/client/test_wayland_windowmanagement.cpp
src/client/plasmawindowmanagement.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, Plasma, hein
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160517/dab6bcd5/attachment.html>
More information about the Plasma-devel
mailing list