Diffusion KWin 9138b598edaa

[xwl] Update to kwaylandserver changes

Authored by davidedmundson on May 26 2020, 8:55 AM.

Description

[xwl] Update to kwaylandserver changes

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

Reviewers: KWin, zzag

Reviewed By: KWin, zzag

Subscribers: cblack, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D29332

Details

Committed
mevenJun 2 2020, 9:02 AM
Reviewer
KWin
Differential Revision
D29332: [xwl] Update to kwaylandserver changes
Parents
R108:3eea5fab5f44: [effects/blur] Update to kwayland changes
Branches
Unknown
Tags
Unknown