Add DataControl iface
AbandonedPublic

Authored by davidedmundson on May 1 2020, 1:22 PM.

Details

Reviewers
None
Group Reviewers
KWin
Summary

This patch makes use of wlroot's DataControl interface to support
clipboard management.

Unlike wl_data_device clipboards are sent on every change to all watchers.
If the data device has a selection set it updates immediately.

Because it was started a year ago it uses the existing style of
wrapping objects. The unit test uses the new approach.

Test Plan

Updated kwin
used wlroot's wl-copy, wl-paste which are xclip replacements to
show that the clipboard updated correctly

Diff Detail

Branch
master
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 26458
Build 26476: arc lint + arc unit
davidedmundson requested review of this revision.May 1 2020, 1:22 PM
davidedmundson created this revision.

fix includes to kwaylandserver

handle a data control changing selection when inactive better

davidedmundson abandoned this revision.May 18 2020, 3:20 PM