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

Authored by michalsrb on Jun 14 2018, 12:52 PM.

Details

Reviewers
None
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

Diff Detail

Repository
R127 KWayland
Lint
Lint Skipped
Unit
Unit Tests Skipped
michalsrb created this revision.Jun 14 2018, 12:52 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJun 14 2018, 12:52 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
michalsrb requested review of this revision.Jun 14 2018, 12:52 PM