1. 04 May, 2021 7 commits
  2. 03 May, 2021 7 commits
    • Vlad Zahorodnii's avatar
      effects/screenshot: Fix a typo · 3af5e9c8
      Vlad Zahorodnii authored
      grabPointerImage() needs the coordinates of the top left corner of the
      screen, not its size.
      3af5e9c8
    • Xaver Hugl's avatar
      platforms/drm: GPU power management · 089134d0
      Xaver Hugl authored
      When a GPU has no outputs attached we need to release all resources and
      close the fd to allow the driver to completely power down the GPU. This
      is also required to allow the driver to be unloaded for VFIO.
      089134d0
    • Alexander Lohnau's avatar
      f881170a
    • Vlad Zahorodnii's avatar
      wayland: Fix loading of HiDPI cursors · 403a04fe
      Vlad Zahorodnii authored
      Xcursors don't support hidpi so if a hidpi cursor is needed, kwin will
      scale the desired size by the scale factor and ask Xcursor helpers to
      load a theme with the given name and the size.
      
      However, the theme loading code doesn't take into account that Xcursor
      theme loading helpers may not return cursor sprites of size size * scale
      if the theme has no such a size.
      
      For example, if the cursor theme only provides 24, 36, and 48 sizes and
      kwin attempts to load cursors of size 48 with a scale factor of 2, we
      will get cursors of size 48 instead of 96. Unfortunately, this will
      result in the issue where the cursor shrinks when hovering decorations
      because kwin doesn't know that the effective scale factor (1) is
      different from the requested scale factor (2).
      
      In order to fix loading of HiDPI cursors, we need to approximate the
      effective scale factor of every cursor sprite as we load it.
      403a04fe
    • Vlad Zahorodnii's avatar
      scripting: Deprecate WorkspaceWrapper::screenResized · 73973641
      Vlad Zahorodnii authored
      The WorkspaceWrapper::screenResized() signal relies on the QDesktopWidget
      class, which is deprecated. Another issue with that signal is that it
      uses integers to represent screens. We need to minimize the amount of int
      based screen api and prefer more QScreen or AbstractOutput APIs because
      the former get completely broken if the output layout changes.
      
      Since we gain not a lot from porting WorkspaceWrapper::screenResized()
      away from QDesktopWidget to something else and we don't use this signal
      in any of our scripts, this change deprecates the screenResized signal
      in favor of manual tracking of QScreen::geometryChanged signal.
      73973641
    • Bhushan Shah's avatar
      inputmethod: do not deactivate the context when key is pressed · d987b94e
      Bhushan Shah authored
      When keyboard_grab is implemented, if we reset the inputmethod context
      on any key, input method will not get keyboard input and will not be
      able to use it.
      d987b94e
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · 31cdb867
      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"
      31cdb867
  3. 02 May, 2021 6 commits
  4. 01 May, 2021 3 commits
  5. 30 Apr, 2021 3 commits
  6. 29 Apr, 2021 14 commits