1. 11 Feb, 2021 3 commits
  2. 10 Feb, 2021 7 commits
    • Fabian Vogt's avatar
      xwayland: Also write a FamilyWild entry to the Xauthority file · 7c325b74
      Fabian Vogt authored and Vlad Zahorodnii's avatar Vlad Zahorodnii committed
      This is needed to deal with hostname changes during lifetime of a session.
      7c325b74
    • Fabian Vogt's avatar
      xwayland: Rename updateXauthorityFile and add error handling · 06d2a31b
      Fabian Vogt authored and Vlad Zahorodnii's avatar Vlad Zahorodnii committed
      This renames updateXauthorityFile to writeXauthorityEntries as it doesn't
      actually update (i.e. change) anything, it just writes new ones.
      
      Error handling is introduced, to avoid that it continues silently without
      entries, which would cause all connections to fail.
      06d2a31b
    • Fabian Vogt's avatar
      xwayland: Simplify writeXauthorityEntry · d51703e3
      Fabian Vogt authored and Vlad Zahorodnii's avatar Vlad Zahorodnii committed
      Extract writing of what libXau calls "counted strings".
      d51703e3
    • Fabian Vogt's avatar
      xwayland: Simplify m_authorityFile · 357713fa
      Fabian Vogt authored and Vlad Zahorodnii's avatar Vlad Zahorodnii committed
      Use a shorter file name (which is already part of apparmor profiles) and avoid
      using a pointer.
      357713fa
    • Vlad Zahorodnii's avatar
      Move source code to src/ directory · 93e0265e
      Vlad Zahorodnii authored
      Once in a while, we receive complaints from other fellow KDE developers
      about the file organization of kwin. This change addresses some of those
      complaints by moving all of source code in a separate directory, src/,
      thus making the project structure more traditional. Things such as tests
      are kept in their own toplevel directories.
      
      This change may wreak havoc on merge requests that add new files to kwin,
      but if a patch modifies an already existing file, git should be smart
      enough to figure out that the file has been relocated.
      
      We may potentially split the src/ directory further to make navigating
      the source code easier, but hopefully this is good enough already.
      93e0265e
    • Vlad Zahorodnii's avatar
      Make source code more relocatable · 68c675d0
      Vlad Zahorodnii authored
      Occasionally, I see complaints about the file organization of kwin,
      which is fair enough.
      
      This change makes the source code more relocatable by removing relative
      paths from includes.
      
      CMAKE_CURRENT_SOURCE_DIR was added to the interface include directories
      of kwin library. This means that as long as you link against kwin target,
      the real location of the source code of the library doesn't matter.
      
      With autotests, things are not as convenient as with kwin target. Some
      tests use cpp files from kwin core. If we move all source code in a src/
      directory, they will need to be adjusted, but mostly only in build
      scripts.
      68c675d0
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · fb7f507d
      Script Kiddy authored
      In case of conflict in i18n, keep the version of the branch "ours"
      To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
      fb7f507d
  3. 09 Feb, 2021 10 commits
  4. 08 Feb, 2021 3 commits
  5. 06 Feb, 2021 2 commits
    • Xaver Hugl's avatar
      Fix hotplugging for VR headsets · 4890db3f
      Xaver Hugl authored
      4890db3f
    • Vlad Zahorodnii's avatar
      Refactor Toplevel::opacity · 9acf04e2
      Vlad Zahorodnii authored
      The major difference between this version and the previous is that kwin
      no longer forwards the opacity to the app window if it runs as a
      window window manager and a compositing manager. As Keith Packard said [1]
      
      > The window manager support is only needed to forward the property from the
      > application window to the frame; with the Composite extension, a
      > compositing manager can then take that value into account when
      > constructing the desktop image.  Any X server can implement the Composite
      > extension; the one in the X server project at freedesktop.org is just one
      > such.  It would be trivial to implement this extension in a direct FB
      > based X server, or any other X server which places windows in off-screen
      > images.
      
      There are a couple of reasons to do so: (a) simplifies code, (b) we don't
      temper with opacities on override-redirect windows.
      
      [1] https://listman.redhat.com/archives/xdg-list/2003-December/msg00153.html
      9acf04e2
  6. 05 Feb, 2021 1 commit
  7. 04 Feb, 2021 1 commit
  8. 03 Feb, 2021 1 commit
  9. 02 Feb, 2021 10 commits
  10. 01 Feb, 2021 2 commits
    • Vlad Zahorodnii's avatar
      platforms/x11: Disable swap events by default on Intel · 76effae5
      Vlad Zahorodnii authored
      Some users reported performances issues after recent compositing
      scheduling changes, in particular animations being laggy.
      
      The issue is that sometimes it may take more than a vblank interval for
      a buffer swap to complete. Previously, compositing was driven by a
      timer and it wasn't synchronized to vblanks. If some frame is running
      late, the compositor will just start painting a new frame, i.e. the
      screen will be rendered triple buffered.
      
      This change disables the swap events code path on Intel to restore the
      previous behavior. Unfortunately, that may add an extra frame of latency.
      
      The swap events code path can be enabled explicitly on Intel by setting
      the KWIN_USE_INTEL_SWAP_EVENT environment variable to 1.
      76effae5
    • Vlad Zahorodnii's avatar
      platforms/x11: Build own vsync monitors only when GLX backend is built · 6aea213c
      Vlad Zahorodnii authored
      The SGIVideoSyncVsyncMonitor and OMLSyncControlVsyncMonitor use GLX,
      thus they should be compiled only if the GLX backend is built.
      6aea213c