D7316: Avoid sending data offers from an invalid source.

David Edmundson noreply at phabricator.kde.org
Mon Aug 14 23:47:14 UTC 2017


davidedmundson created this revision.
Restricted Application added projects: Plasma on Wayland, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  A DataDevice will have a source when offers are available, but it can
  also be legitimately cleared.
  
  When calling DataDeviceInterface::sendSelection(DataDeviceInterface
  *other) if the other data device has no source, we should be setting
  that we also have no source.
  
  In addition this also guards against Seat tracking a DataDeviceInterface
  with no source when trying to sync x clipboards.
  
  BUG: 383054

REPOSITORY
  R127 KWayland

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

AFFECTED FILES
  autotests/client/test_wayland_seat.cpp
  src/server/datadevice_interface.cpp

To: davidedmundson, #plasma
Cc: plasma-devel, #frameworks, leezu, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170814/045366c5/attachment.html>


More information about the Plasma-devel mailing list