1. 17 Mar, 2020 1 commit
    • Aleix Pol Gonzalez's avatar
      Fix compiler warnings · cca0e15b
      Aleix Pol Gonzalez authored
      Summary: No need to keep them around for no reason.
      
      Test Plan: Tested the plugins I thought could be affected. Have been using it for a couple of days without problems
      
      Reviewers: #kwin, zzag
      
      Reviewed By: #kwin, zzag
      
      Subscribers: zzag, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D28062
      cca0e15b
  2. 16 Mar, 2020 1 commit
  3. 29 Feb, 2020 1 commit
    • Roman Gilg's avatar
      Remove orientation sensor · 2c66e1f6
      Roman Gilg authored and Bhushan Shah's avatar Bhushan Shah committed
      Summary:
      This functionality will instead be implemented in KScreen such that manual and
      automatic output rotation can be used and configured through a single UI in
      unison together.
      
      Test Plan: Compiles.
      
      Reviewers: #kwin, davidedmundson, zzag
      
      Reviewed By: #kwin, zzag
      
      Subscribers: kwin, bshah, davidedmundson, zzag
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D26036
      2c66e1f6
  4. 26 Feb, 2020 1 commit
    • Daniel Vrátil's avatar
      Decode full monitor vendor name from EDID using hwdata · 33a1777a
      Daniel Vrátil authored
      Test Plan:
      KScreen now shows "Dell Inc." instead of DEL and
      "Eizo Nano Corporation" instead of ENC in output names, which
      matches closer to what's written on my monitors.
      
      Reviewers: graesslin, davidedmundson, #plasma
      
      Reviewed By: davidedmundson, #plasma
      
      Subscribers: apol, feverfew, ngraham, davidedmundson, mart, kwin, sebas
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D10041
      33a1777a
  5. 25 Feb, 2020 1 commit
  6. 22 Feb, 2020 4 commits
    • Nicolas Fella's avatar
      Revert "[kcm/effects] Clip ListView" · 7159684c
      Nicolas Fella authored
      Bad merge
      
      This reverts commit b7130442.
      7159684c
    • Nicolas Fella's avatar
      [kcm/effects] Clip ListView · b7130442
      Nicolas Fella authored
      Summary:
      Otherwise the content overflows the frame when scrolling.
      
      QQC2 scrollview docs say "ScrollView does not automatically clip its contents. If it is not used as a full-screen item, you should consider setting the clip property to true"
      
      Test Plan:
      Before:
      {F8121150}
      
      After:
      {F8121152}
      
      Reviewers: #kwin, #plasma, ngraham
      
      Reviewed By: ngraham
      
      Subscribers: ngraham, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D27558
      b7130442
    • Nicolas Fella's avatar
      Revert "[kcm/effects] Clip ListView" · cdc5ea19
      Nicolas Fella authored
      Bad merge
      
      This reverts commit 5babf52d.
      cdc5ea19
    • Nicolas Fella's avatar
      [kcm/effects] Clip ListView · 5babf52d
      Nicolas Fella authored
      Summary:
      Otherwise the content overflows the frame when scrolling.
      
      QQC2 scrollview docs say "ScrollView does not automatically clip its contents. If it is not used as a full-screen item, you should consider setting the clip property to true"
      
      Test Plan:
      Before:
      {F8121150}
      
      After:
      {F8121152}
      
      Reviewers: #kwin, #plasma, ngraham
      
      Reviewed By: ngraham
      
      Subscribers: ngraham, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D27558
      5babf52d
  7. 18 Feb, 2020 1 commit
  8. 08 Feb, 2020 1 commit
    • Heiko Becker's avatar
      Require kdecoration >= 5.18.0 · 6d8f3732
      Heiko Becker authored
      Summary:
      To successfully build kwin needs 13e6459a3baeebe6a7b594efd995b88f6dd7524e
      in kdecoration. Otherwise it fails with: "previewclient.h:93:11: error:
      'QSize KDecoration2::Preview::PreviewClient::size() const' marked
      'override', but does not override QSize size() const override;"
      So this is not a new requirement but just an update to the build system
      to reflect the actual requirements.
      
      Test Plan: Builds fine with the newly required version
      
      Reviewers: #kwin
      
      Subscribers: kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D27242
      6d8f3732
  9. 06 Feb, 2020 1 commit
  10. 25 Jan, 2020 1 commit
  11. 22 Jan, 2020 1 commit
    • David Edmundson's avatar
      Drop kdeinit linking · 996e8401
      David Edmundson authored
      Summary:
      This wasn't used on startup (ksmserver calls KProcess)
      Nor for the rules dialog (kwin invokes it with QProcess)
      
      We may as well simplify the code and drop the dependency
      
      See also T12140
      
      Test Plan:
      Restarted
      Opened the rules dialog
      
      Reviewers: #kwin, zzag
      
      Reviewed By: #kwin, zzag
      
      Subscribers: kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D26835
      996e8401
  12. 16 Jan, 2020 4 commits
  13. 07 Jan, 2020 1 commit
    • Vlad Zahorodnii's avatar
      [nightcolor] Use a dedicated class for detection of system clock changes · e728460a
      Vlad Zahorodnii authored
      Summary:
      The ClockSkewNotifier provides a convenient way for monitoring system
      clock changes. One of the key ideas was to hide platform details from
      users of the class. This allows us to add a QTimer fallback path for
      operating systems that don't provide anything to detect system clock
      changes.
      
      In long term, I would like to move the new class to Frameworks.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: davidedmundson, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D25962
      e728460a
  14. 10 Dec, 2019 1 commit
  15. 03 Dec, 2019 2 commits
  16. 26 Nov, 2019 1 commit
  17. 12 Nov, 2019 1 commit
  18. 05 Nov, 2019 1 commit
  19. 04 Nov, 2019 1 commit
    • David Edmundson's avatar
      Add KDEClangFormat cmake support · 0369011c
      David Edmundson authored
      Summary:
      This allows devs to run: "make clang-format" and format all files easily
      using the preset KDE clang format style
      
      This patch adds support so devs can easily test the intended formatting
      now, it doesn't change the code yet.
      
      Doing an initial run to commit everything will happen later.
      
      Test Plan:
      Ran script
      git diff was full of amazingly cleaned code
      
      See D25134
      0369011c
  20. 01 Nov, 2019 1 commit
    • David Edmundson's avatar
      Port one of session management connections state to a custom API · ec610fd7
      David Edmundson authored
      Summary:
      Currently kwin opens a second ICE connection to ksmserver in order to
      tell the state of kwin's whether we're logging out and saving clients or
      not.
      
      This requires that kwin launches after ksmserver to have the connection
      which is a dependency I want to break.
      
      Practically this code is already ksmserver specific as it relies on some
      custom code that sends the first saveState request to kwin first.
      
      Instead we can replace it with a bespoke IPC over DBus and siplify the
      code both end. This will allow several other future enhancements that we
      want with regards to handling the session state, as well as make an
      effort platform agnostic session management, as well as cleaning up some
      complex code.
      
      Ksmserver calls into kwin, rather than having kwin watch ksmserver state
      to allow us make sure it's race free.
      
      Reviewers: #kwin, zzag
      
      Reviewed By: #kwin, zzag
      
      Subscribers: romangg, zzag, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D24862
      ec610fd7
  21. 29 Oct, 2019 2 commits
    • Jonathan Esk-Riddell's avatar
      Update version number for 5.17.2 · c42a4234
      Jonathan Esk-Riddell authored
      GIT_SILENT
      c42a4234
    • Roman Gilg's avatar
      Dmabuf recovery on EGL reset · 7459aabc
      Roman Gilg authored
      Summary:
      The EGL platform might go away at any time through reconfiguration or because
      of a graphic error. KWin then resets the graphics. The dmabuf implementation
      must respect that and recover from a graphics reset by recreating all EGL
      images for existing buffer.
      
      This assumes that we won't change our graphics API mid-session and that
      supported plane and modifier configuration stays constant.
      
      In practise we remember all current dmabufs in a single map and only remove
      them if the client did destroy the resource.
      
      BUG: 411980
      CCBUG: 413403
      FIXED-IN: 5.17.2
      
      Test Plan: Applied screenedge configuration without crash.
      
      Reviewers: #kwin, zzag
      
      Reviewed By: #kwin, zzag
      
      Subscribers: fvogt, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D24954
      7459aabc
  22. 22 Oct, 2019 1 commit
  23. 10 Oct, 2019 3 commits
  24. 25 Sep, 2019 1 commit
    • Vlad Zahorodnii's avatar
      Rename Client to X11Client · ffcbe24e
      Vlad Zahorodnii authored
      Summary:
      Currently each managed X11 client is represented with an instance of
      Client class, however the name of that class is very generic and the
      only reason why it's called that way is because historically kwin
      was created as an x11 window manager, so "Client" was a sensible choice.
      
      With introduction of wayland support, things had changed and therefore
      Client needs to be renamed to X11Client in order to better reflect what
      that class stands for.
      
      Renaming of Client to X11Client was agreed upon during the last KWin
      sprint.
      
      Test Plan: Compiles, the test suite is still green.
      
      Reviewers: #kwin, romangg
      
      Reviewed By: #kwin, romangg
      
      Subscribers: romangg, davidedmundson, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D24184
      ffcbe24e
  25. 23 Sep, 2019 1 commit
  26. 19 Sep, 2019 2 commits
  27. 18 Sep, 2019 1 commit
  28. 17 Sep, 2019 2 commits