1. 01 Feb, 2020 1 commit
  2. 24 Jan, 2020 1 commit
  3. 23 Jan, 2020 1 commit
  4. 14 Jan, 2020 1 commit
  5. 11 Jan, 2020 1 commit
  6. 03 Jan, 2020 1 commit
  7. 30 Dec, 2019 2 commits
  8. 21 Dec, 2019 1 commit
  9. 14 Dec, 2019 1 commit
  10. 09 Dec, 2019 1 commit
  11. 07 Dec, 2019 2 commits
  12. 03 Dec, 2019 1 commit
  13. 27 Nov, 2019 1 commit
    • Roman Gilg's avatar
      [server] Do not own dmabuf implementation · 005a8ede
      Roman Gilg authored
      Summary:
      The dmabuf implementation should be managed by the compositor and not by the
      interface which might go away through signals while the implementation goes
      away in the compositor simultaneously.
      
      Test Plan: Compiles.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D25576
      005a8ede
  14. 26 Nov, 2019 1 commit
    • Vlad Zahorodnii's avatar
      [server] Make double-buffered properties in xdg-shell double-buffered · d0b3eab8
      Vlad Zahorodnii authored
      Summary:
      So far all double-buffered properties in our implementation of xdg-shell
      weren't actually double-buffered. When a property setter is invoked, we
      pray to the God hoping that the client committed associated surface.
      
      This change introduces private SurfaceRole class. The new class provides
      a way for SurfaceInterface to commit pending state of associated shell
      surface.
      
      The chosen architecture allows us to do more in the future. For example,
      we could use SurfaceRole to prevent associating several roles to a single
      wl_surface object, e.g. xdg-toplevel to a pointer surface, etc.
      
      Test Plan: This change breaks support for client-side decorated clients in KWin.
      
      Reviewers: #kwin
      
      Subscribers: kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D23745
      d0b3eab8
  15. 22 Nov, 2019 1 commit
  16. 10 Nov, 2019 1 commit
  17. 03 Nov, 2019 1 commit
  18. 02 Nov, 2019 1 commit
  19. 24 Oct, 2019 1 commit
  20. 22 Oct, 2019 2 commits
  21. 20 Oct, 2019 1 commit
    • Friedrich W. H. Kossebau's avatar
      Use ECMGenerateExportHeader to manage deprecated API better · 1fb1906a
      Friedrich W. H. Kossebau authored
      Summary:
      Allows
      * projects linking to KWayland to hide deprecated API up to a
        given version or silence deprecation warnings after a given version,
        using
        * -DKWAYLAND_DISABLE_DEPRECATED_BEFORE_AND_AT
        * -DKWAYLAND_NO_DEPRECATED
        * -DKWAYLAND_DEPRECATED_WARNINGS_SINCE
        * -DKWAYLAND_NO_DEPRECATED_WARNINGS
      
        or
        * -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT
        * -DKF_NO_DEPRECATED
        * -DKF_DEPRECATED_WARNINGS_SINCE
        * -DKF_NO_DEPRECATED_WARNINGS
      
      No support for "EXCLUDE_DEPRECATED_BEFORE_AND_AT", needs to be done by
      someone with detailed knowledge about disabling implementation, if wanted.
      
      Reviewers: #kwin
      
      Subscribers: zzag, kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D24663
      1fb1906a
  22. 15 Oct, 2019 1 commit
  23. 12 Oct, 2019 1 commit
  24. 06 Oct, 2019 1 commit
  25. 17 Sep, 2019 2 commits
  26. 16 Sep, 2019 1 commit
  27. 15 Sep, 2019 1 commit
    • Frederik Gladhorn's avatar
      Improve documentation · 6388d550
      Frederik Gladhorn authored
      Summary:
      Some of the documentation did not say what the purpose of the
      respective class was, but rather gave a tautology.
      For people new to the code base it helps to mention that
      DPMS is power management.
      
      That DataDevice is for copy-and-paste and drag-and-drop is
      maybe obvious to people used to X11 API, but not very clear
      to most others.
      
      When first reading the KWayland code, some explanations
      help getting around.
      
      Reviewers: #kwin, romangg
      
      Reviewed By: #kwin, romangg
      
      Subscribers: romangg, zzag, kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D23915
      6388d550
  28. 14 Sep, 2019 2 commits
  29. 12 Sep, 2019 1 commit
  30. 07 Sep, 2019 1 commit
  31. 28 Aug, 2019 3 commits
    • David Edmundson's avatar
      [server] Wrap proxyRemoveSurface in smart pointer · f7763052
      David Edmundson authored
      Summary:
      proxyRemoteSurface is a fake wayland surface created for the drag and
      drop between X and wayland clients.
      
      The lifespan is not guaranteed to outlive the DataDevice.
      
      Kwin closes Xwl before the other wayland client connections so it's
      technically dangling for a bit when events could be dispatched.
      
      Probably will never happen, but better to guard and be safe.
      
      Test Plan: Compiles
      
      Reviewers: #kwin, zzag
      
      Reviewed By: #kwin, zzag
      
      Subscribers: kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D22862
      f7763052
    • Roman Gilg's avatar
      [server] Use cached current mode more and assert validness · 0c0a2710
      Roman Gilg authored
      Summary:
      We can use the cached current mode in one more case. Additionally make it
      more explicit what a valid mode is and when to add them.
      
      Test Plan: Relevant autotests pass. KWin Wayland nested and DRM session work.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D23535
      0c0a2710
    • Roman Gilg's avatar
      [server] Cache current mode · ce5e25a4
      Roman Gilg authored
      Summary:
      Instead of looping over all modes for retrieving current mode data copy it
      to a separate variable.
      
      Test Plan:
      KWin auto tests pass and KScreen in Wayland nested session shows correct
      information.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: davidedmundson, kde-frameworks-devel
      
      Tags: #frameworks
      
      Maniphest Tasks: T11459
      
      Differential Revision: https://phabricator.kde.org/D23493
      ce5e25a4
  32. 11 Aug, 2019 1 commit
  33. 06 Aug, 2019 1 commit
    • Roman Gilg's avatar
      Implement zwp_linux_dmabuf_v1 · 1dd57d90
      Roman Gilg authored
      Summary: This interface provides a way for clients to create generic dmabuf-based wl_buffers.
      
      Test Plan: Works with weston-simple-dmabuf-drm and weston-simple-dmabuf-egl in KWin.
      
      Reviewers: #kwin, #plasma, graesslin, davidedmundson, mart, fredrik
      
      Subscribers: zzag, kde-frameworks-devel, romangg, plasma-devel
      
      Tags: #frameworks, #plasma_on_wayland
      
      Maniphest Tasks: T8067
      
      Differential Revision: https://phabricator.kde.org/D10747
      1dd57d90