D29332: [xwl] Update to kwaylandserver changes

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
davidedmundson created this revision.
davidedmundson added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
davidedmundson requested review of this revision.

REVISION 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

REPOSITORY
  R108 KWin

BRANCH
  xwl_update

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

AFFECTED FILES
  xwl/clipboard.cpp
  xwl/clipboard.h
  xwl/dnd.cpp
  xwl/selection_source.cpp
  xwl/selection_source.h

To: davidedmundson, #kwin
Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.