[xwl] Update to kwaylandserver changes
ClosedPublic

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

Details

Summary

Change so we track track and set a DataSource instead of a DataDevice

This means we have to reverse a connection:

  • we need to update Seat with our selection only when our selection is

received by the DataDeviceInterface

  • we no longer need to track and watch a dataDevice for changes after

the seat emits selectionChange

Change so that we handle an AbstractDataSource. Meaning we can paste
from clipboard managers.

Testing done:
There is an existing xwayland-selections_test
This still passes.

Copied from:
wl-copy(wlr) to firefox (x)
firefox to wl-paste
firefox to kate (wayland)
kate to firefox

Diff Detail

Repository
R108 KWin
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 26192
Build 26210: arc lint + arc unit
davidedmundson created this revision.May 1 2020, 1:45 PM
Restricted Application added a project: KWin. · View Herald TranscriptMay 1 2020, 1:45 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
davidedmundson requested review of this revision.May 1 2020, 1:45 PM
cblack added a subscriber: cblack.EditedMay 1 2020, 2:22 PM

I may be missing something, but this patch fails to build for me.

I've tried to build with both the current KWayland and the new split KWayland installed, if that makes any difference.

zzag accepted this revision.May 19 2020, 9:42 AM
This revision is now accepted and ready to land.May 19 2020, 9:42 AM