D13536: Do not cancel old clipboard selection if it is same as the new one.

Michal Srb noreply at phabricator.kde.org
Thu Jun 14 12:52:30 UTC 2018


michalsrb created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
michalsrb requested review of this revision.

REVISION SUMMARY
  GTK applications seem to call wl_data_device::set_selection multiple times with
  the same wl_data_source object, replacing it with itself. If we cancel it, they
  will destroy it and the selection will be gone.
  
  With this patch it is again possible to copy from GTK applications.
  
  BUG: 395366

REPOSITORY
  R127 KWayland

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

AFFECTED FILES
  src/server/datadevice_interface.cpp

To: michalsrb
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180614/214ab112/attachment.html>


More information about the Kde-frameworks-devel mailing list