1. 17 Jun, 2020 2 commits
  2. 15 Jun, 2020 1 commit
  3. 03 Jun, 2020 1 commit
  4. 02 Jun, 2020 1 commit
    • Vlad Zahorodnii's avatar
      Add support for the wp_viewporter protocol · b9381012
      Vlad Zahorodnii authored
      The wp_viewporter compositor extension allows clients to crop and scale
      their surface. It can be useful for applications such as video players
      because it may potentially reduce their power usage.
  5. 01 Jun, 2020 9 commits
  6. 31 May, 2020 1 commit
  7. 29 May, 2020 2 commits
  8. 28 May, 2020 5 commits
  9. 26 May, 2020 4 commits
    • David Edmundson's avatar
      Add DataControl iface · d8b553e7
      David Edmundson authored
      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
      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
      Reviewers: #kwin
      Differential Revision: https://phabricator.kde.org/D29330
    • David Edmundson's avatar
      Introduce AbstractDataSource round the DataSourceInterface · e08b201b
      David Edmundson authored
      Clipboard managers and middle click paste are new protocols.
      We want to be able to copy from a clipboard manager to a regular
      clipboard and vice versa without duplicating loads of code.
      If we support kliper's "syncronise contents of the clipboard and
      selection" inside the compositor that would become an unmanageable amount
      of combinations.
      It also potentially allows the idea of our XWayland bridge not being a
      wayland client and simplifying that code.
      Test Plan: Unit test passes
      Reviewers: #kwin
      Subscribers: zzag
      Differential Revision: https://phabricator.kde.org/D29329
    • David Edmundson's avatar
      Manage active selection as active DataSource than DataDevice · f9da1809
      David Edmundson authored
      A DataDevice will have zero or one active DataSource as the seclection.
      In the existing code we track the current data device then update it to
      the newest data device
      when the source inside a data device changes.
      If we store the active data source inside Seat instead of the device
      everything becomes
      somewhat simpler and safer.
      An entire unit test vanishes as that case of an externally set
      DataDevice with no source
      can no longer happen.
      There's also a lot of duplication that's been merged in this patch so we
      have one path.
      There are some technical behavioural changes in particular we do cleanup
      when the
      source vanishes rather than the data device, but if anything that seems
      safer and more correct.
      It's a precursor for introducing an abstraction class round the source
      without needing to meddle
      with too much code.
      Test Plan: Relevant unit tests passed, ran with it for a while with no
      Reviewers: #kwin
      Differential Revision: https://phabricator.kde.org/D29328
    • David Edmundson's avatar
      [BlurInterface] Port to the new approach · 2189579d
      David Edmundson authored
      BlurInterface always used to be my go-to template when starting a new
      protocol, we may as well make it up-to-date with the generation.
      Code is reduced by a third.
  10. 25 May, 2020 1 commit
  11. 20 May, 2020 5 commits
  12. 18 May, 2020 3 commits
  13. 15 May, 2020 1 commit
  14. 14 May, 2020 1 commit
  15. 04 May, 2020 1 commit
  16. 01 May, 2020 2 commits