1. 28 Jul, 2017 6 commits
  2. 27 Jul, 2017 5 commits
  3. 26 Jul, 2017 2 commits
  4. 25 Jul, 2017 5 commits
  5. 24 Jul, 2017 1 commit
  6. 23 Jul, 2017 4 commits
  7. 22 Jul, 2017 1 commit
  8. 21 Jul, 2017 1 commit
  9. 20 Jul, 2017 3 commits
  10. 18 Jul, 2017 3 commits
  11. 17 Jul, 2017 6 commits
    • Martin Flöser's avatar
      [qpa] Use the new OpenGLContextAttributeBuilder to create Qt's OpenGL context · 73fa7b21
      Martin Flöser authored
      Introduces a few more attributes needed for creating the OpenGL context
      used by the QPA.
      Test Plan:
      Extended test and run KWin/Wayland and verified that OpenGL context
      gets created correctly.
      Reviewers: #kwin, #plasma
      Subscribers: plasma-devel, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D6734
    • Martin Flöser's avatar
      Require C++14 · ea5d611d
      Martin Flöser authored
      KWin already used C++14 constructs in a conditional way. This doesn't
      make much sense today, it's better to just require C++14.
      For KWin only gcc and clang are currently compilers of relevance. Gcc
      supports C++14 since version 5 and defaults to C++14 since 6.1 [1].
      Clang supports C++14 since version 3.4 [2].
      An overview of compiler support in various distributions:
      * Debian stable (stretch): gcc 6.3, clang 3.8
      * Debian oldstable (jessie): 4.9, clang 3.5
      * Ubuntu 17.04: gcc 6.1, clang 3.8
      * Ubuntu 16.04: gcc 5.3, clang 3.8
      * openSUSE Tumbleweed: gcc 7.1, clang 4.0
      * openSUSE Leap 42.3: gcc ?, clang ? [3]
      * FreeBSD: clang >= 34 in ports
      * Slackware 14.2: gcc 5.3
      This overview shows that every distro out there has at least one
      supported compiler which can still compile KWin with this change.
      [1] https://gcc.gnu.org/projects/cxx-status.html#cxx14
      [2] https://clang.llvm.org/cxx_status
      [3] Sorry I fail to understand openSUSE's package repository.
          It seems that there is gcc 7 available, but gcc package is 4.8
      Test Plan: Compiles on my neon system
      Reviewers: #plasma
      Subscribers: plasma-devel, kwin, #kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D6634
    • Martin Flöser's avatar
      Merge branch 'Plasma/5.10' · 8e2805ce
      Martin Flöser authored
    • Martin Flöser's avatar
      [aurorae] Add support for shaded windows · bf0e0f07
      Martin Flöser authored
      Aurorae did not render correctly. This change addresses the problem for
      both maximized and restored windows.
      BUG: 373319
      FIXED-IN: 5.10.4
      Test Plan: shaded windows with Plastik and SVG based theme
      Reviewers: #kwin, #plasma
      Subscribers: plasma-devel, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D6719
    • Martin Flöser's avatar
      Properly swap the quick tile side when pressing the shortcut again · 139b4dc8
      Martin Flöser authored
      The quick tile shortcuts have a feature of moving the window to the next
      screen if one presses the same shortcut again.
      E.g. if a window is quick tiled to the left on the right most screen,
      quick tile again to left should move it to the left screen and quick tile
      right. Thus it swaps the borders.
      This wasn't handled correctly, especially not for modes like top and
      bottom. If a window is quick tiled to the top an impossible mode was
      generated: Left | Right. Doesn't make sense.
      This change fixes the mode swapping and extends our quick tile testing
      to cover the situation.
      BUG: 382313
      FIXED-IN: 5.10.4
      Test Plan: Extended test case
      Reviewers: #plasma, #kwin
      Subscribers: plasma-devel, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D6708
    • Martin Flöser's avatar
      [aurorae] Mark the render QQuickWindow as frameless · 5cb91762
      Martin Flöser authored
      On Wayland aurorae was creating a lot of stress for the system and
      basically turning the system unusable in a short time. This was due to
      a recursion starting to create OpenGL contexts. The window created a
      decoration (aurorae) which created a QQuickWindow. For that KWin creates
      an internal window which in turn triggers the creation of a window
      decoration and so on and on.
      By simply setting the render QQuickWindow as frameless we can prevent
      this recursion.
      Test Plan: Tested on Wayland and X11. On Wayland the recursion is gone.
      Reviewers: #kwin, #plasma
      Subscribers: plasma-devel, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D6726
  12. 16 Jul, 2017 1 commit
    • Martin Flöser's avatar
      [platforms/x11] Quit the OpenGL Freeze protection thread on shutdown · 06a558e3
      Martin Flöser authored
      Weird NVIDIA behavior fixup part 2. Now that we do no longer freeze when
      NVIDIA decides to create an OpenGL error on startup
      (aefb5f4d), we experience a new issue.
      KWin is terminating (no idea why, [1]) and at the same time the OpenGL freeze
      protection thread is still running. So far we did not terminate the
      thread on shutdown and thus we hit an abort in Qt.
      This change ensures that we properly terminate the thread on shutdown.
      [1] My current theory is that games terminate KWin, common pattern of
      bug reports is "steam".
      BUG: 382283
      FIXED-IN: 5.10.4
      Test Plan:
      Tortured KWin by making sure I go through the code path,
      saw the abort without the patch, no more abort with the patch
      Reviewers: #kwin, #plasma
      Subscribers: plasma-devel, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D6735
  13. 15 Jul, 2017 1 commit
  14. 14 Jul, 2017 1 commit
    • Roman Gilg's avatar
      [platforms/drm] Delete buffer on all errors in present · d4423186
      Roman Gilg authored
      When returning early in DrmOutput::present() because of some error KWin
      didn't delete the proposed buffer, therefore not releasing the surface
      lock of the GBM buffer to the EGL surface.
      This patch makes sure that on any error in present we cleanup the proposed
      Reviewers: #kwin
      Subscribers: #kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D6660