[Differential] [Request, 156 lines] D1594: Improve the deconstruction of PlasmaWindows

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Thu May 12 05:48:36 UTC 2016


graesslin created this revision.
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  The protocol is extended by a dedicated destructor request. When a
  PlasmaWindow is umapped we no longer destroy the resource directly,
  but only send the unmap. The client is then supposed to clean up
  (which it already did in that case) and will invoke the destructor.
  
  The PlasmaWindowInterface object will be automatically deleted after
  the unmap once all resources bound for it are destroyed.
  
  The tests are extended by two new test cases which triggered protocol
  errors on the client side prior to this change.

REPOSITORY
  rKWAYLAND KWayland

BRANCH
  improved-resource-cleanup-plasma-window

REVISION DETAIL
  https://phabricator.kde.org/D1594

AFFECTED FILES
  autotests/client/test_wayland_windowmanagement.cpp
  src/client/protocols/plasma-window-management.xml
  src/client/registry.cpp
  src/server/plasmawindowmanagement_interface.cpp
  src/server/plasmawindowmanagement_interface.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, Plasma
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160512/1c4aedbb/attachment-0001.html>


More information about the Plasma-devel mailing list