1. 08 Feb, 2020 1 commit
    • Heiko Becker's avatar
      Require kdecoration >= 5.18.0 · 6d8f3732
      Heiko Becker authored
      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
  2. 06 Feb, 2020 1 commit
  3. 05 Feb, 2020 1 commit
  4. 03 Feb, 2020 2 commits
    • Vlad Zahorodnii's avatar
      [x11] Fix visual artifacts during interactive resize · 56d5f3a4
      Vlad Zahorodnii authored
      When a window is being interactively resized, its contents may jump. The
      reason why that happens is because KWin renders partially resized client
      window. Composite extension spec says that a window will get a new pixmap
      each time it is resized or mapped. This applies to the frame window, but
      not to the client window itself. If the client window is resized,
      off-screen storage for the frame window won't be reallocated. Therefore,
      KWin may render partially resized client window if the client doesn't
      attempt to be in sync with our rendering loop. Currently, the only way
      to do that is to use extended frame counters, which are not supported by
      So, in order to fix visual artifacts during interactive resize, we need
      somehow forcefully re-allocate off-screen storage for the frame window.
      Unfortunately, Composite extension doesn't provide any request to do
      that, so the only option we have is to resize the frame window.
      BUG: 415839
      FIXED-IN: 5.18.0
      Reviewers: #kwin
      Subscribers: davidedmundson, ngraham, alexde, fredrik, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D26914
    • Arjen Hiemstra's avatar
      ScreenEdge: Do not use localtime for measuring duration · 9b3d9e58
      Arjen Hiemstra authored
      QDateTime::fromMSecSinceEpoch uses Qt::LocalTime by default. This involves an
      expensive localtime conversion. So instead force things to use UTC, as there
      is no need for timezone information when tracking durations.
      This is especially noticeable on Bedrock Linux, which uses a Fuse mounted
      /etc, which is slower than a plain /etc and causes quite some slowdown there.
      See https://github.com/bedrocklinux/bedrocklinux-userland/issues/140 for
      Test Plan: The screenedge unit test still passes.
      Reviewers: #kwin, davidedmundson
      Reviewed By: #kwin, davidedmundson
      Subscribers: zzag, anthonyfieroni, davidedmundson, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D27114
  5. 31 Jan, 2020 1 commit
  6. 29 Jan, 2020 6 commits
  7. 28 Jan, 2020 6 commits
  8. 27 Jan, 2020 1 commit
  9. 25 Jan, 2020 2 commits
  10. 23 Jan, 2020 3 commits
  11. 21 Jan, 2020 1 commit
  12. 19 Jan, 2020 3 commits
  13. 18 Jan, 2020 1 commit
  14. 17 Jan, 2020 1 commit
  15. 16 Jan, 2020 10 commits