D22862: [server] Wrap proxyRemoveSurface in smart pointer

David Edmundson noreply at phabricator.kde.org
Wed Jul 31 18:15:38 BST 2019


davidedmundson created this revision.
davidedmundson added a reviewer: KWin.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  proxyRemoteSurface is a fake wayland surface created for the drag and
  drop between X and wayland clients.
  
  The lifespan is not guaranteed to outlive the DataDevice.
  
  Kwin closes Xwl before the other wayland client connections so it's
  technically dangling for a bit when events could be dispatched.
  
  Probably will never happen, but better to guard and be safe.

TEST PLAN
  Compiles

REPOSITORY
  R127 KWayland

BRANCH
  master

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

AFFECTED FILES
  src/server/datadevice_interface.cpp

To: davidedmundson, #kwin
Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190731/201af628/attachment.html>


More information about the Kde-frameworks-devel mailing list