1. 22 Nov, 2020 1 commit
  2. 19 Nov, 2020 1 commit
  3. 07 Aug, 2020 2 commits
    • Vlad Zahorodnii's avatar
      Prettify license headers · 4ce853e8
      Vlad Zahorodnii authored
    • Vlad Zahorodnii's avatar
      Switch to SPDX license markers · 1fb9f6f1
      Vlad Zahorodnii authored
      The main advantage of SPDX license identifiers over the traditional
      license headers is that it's more difficult to overlook inappropriate
      licenses for kwin, for example GPL 3. We also don't have to copy a
      lot of boilerplate text.
      In order to create this change, I ran licensedigger -r -c from the
      toplevel source directory.
  4. 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
  5. 28 Jan, 2020 1 commit
  6. 10 Feb, 2019 1 commit
    • Valerio Pilo's avatar
      [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule · 8350c0f2
      Valerio Pilo authored
      * Wrote new KCM based on KQuickAddons::ConfigModule.
      * Remade QMLs for Buttons and Themes tabs.
      * Updated bridge model code for new plugin lookup API (fixes warnings).
      * Fixed decoration shadow changing messing with the previews sizes.
      * Fixed button drag and drop issues (see D18104).
      * Fixed default settings button behavior and detection of settings changes.
      * Updated Get Hot New Stuff.
      * Removed apply button in previewbridge.cpp: After applying changes, a theme's KCModule is invalidated.
      BUG: 389431
      BUG: 350122
      BUG: 346222
      BUG: 342816
      BUG: 397595
      {F6574963} | {F6574962} | {F6574961} | {F6574960}
      Test Plan:
      * Verified saving and loading for every setting
      * Checked shadows of Breeze and Oxygen
      * Tested all possible drag&drop operations on both sides of the fake titlebar
      * Changed color schemes (with `kcmshell5 colors`) while showing the Themes tab to see if all previews update correctly their palettes
      * Tested on a fresh Neon-developer account, via kcmshell and systemsettings
      Reviewers: #vdg, abetts, ngraham, #kwin, davidedmundson
      Reviewed By: #vdg, #kwin, davidedmundson
      Subscribers: zzag, GB_2, ngraham, broulik, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D18458
  7. 07 Feb, 2018 1 commit
    • Martin Flöser's avatar
      Make it possible to compile 5.12 branch with a kdecoration from master · 8245a74b
      Martin Flöser authored
      KDecoration has two new pure virtual methods. Due to that one cannot
      build KWin in the stable branch. This makes bug fixing rather cumbersome
      as one also needs to switch the kdecoration branch.
      This rather unusual change for a stable branch improves the
      compatibility by adding the new virtual methods without doing anything
      and without marking them as override, so that the code can compile with
      a kdecoration from 5.12 and a kdecoration from master.
      Test Plan: 5.12 branch compiles with kdecoration master branch
      Reviewers: #kwin, #plasma
      Subscribers: plasma-devel, kwin
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D10296
  8. 18 Jan, 2018 1 commit
  9. 09 Dec, 2017 1 commit
    • David Edmundson's avatar
      Cleanup color scheme manager part of KCM Deco code · 1d3d4b10
      David Edmundson authored
      PreviewCient is internal to the KCM, it's not used by actual decorations
      where we need API compatibility.
      This property is not used by the KCM.
      The current code parses every color scheme config file for every
      decoration. This is one of the big contributing factors to this KCM
      being a bit sluggish.
      It was effectively deprecated in 2015 when a decoration palette was
      introduced. If we wanted to add colorscheme functionality in the KCM,
      we'd use that instead at a previewclient level.
      Test Plan:
      Found this was a problem with hotspot
      Grepped code for usage
      Ran KCM
      Reviewers: #plasma
      Subscribers: plasma-devel, kwin, #kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D9239
  10. 11 Jan, 2017 1 commit
    • Kai Uwe Broulik's avatar
      Restore global menu support · 93938d60
      Kai Uwe Broulik authored
      This brings back global menu support in KWin.
      The DBusMenu infrastructure is different that we just read the DBus service name and
      menu object path from the windows rather than passing around window IDs on DBus which
      won't work on Wayland.
      Differential Revision: https://phabricator.kde.org/D3089
  11. 31 Mar, 2015 1 commit
    • Mika Allan Rauhala's avatar
      Adapt to KDecoration API changes · 3389c756
      Mika Allan Rauhala authored and Martin Flöser's avatar Martin Flöser committed
      Adapt to API changes introduced by b62e8888cd39301e00ad98dfe791fa66676408fb.
      It adds DecoratedClient::color(group, role) for getting colors that are
      not included in QPalette. Breeze used to read these colors from
      kdeglobals, breaking per window color schemes. KWin now handles reading
      these colors along with QPalette loading with DecorationPalette.
      REVIEW: 122883
  12. 22 Jan, 2015 1 commit
    • Thomas Lübking's avatar
      Overhaul of deco kcm · ce2fa727
      Thomas Lübking authored
      - align with system palette
      - base color for buttons and preview individually
        to create a visual gap (make them more standalone)
      - downsized button config buttons to match up w/ preview
        appearance (and because it was simply to huge for a desktop thing)
      - upsized preview to preferably show two elements at once
        (current + 2*1/2context)
      - made the titlebar a visible visual element
      - label the titlebar "Titlebar"
      - move the (altered) hint to the drag-from area
      - hint draggability with a pointing hand cursor
      - less hardcoded values
      - brief animations on button adding/removing
      BUG: 337544
      REVIEW: 122064
  13. 28 Nov, 2014 1 commit
  14. 11 Nov, 2014 2 commits
  15. 31 Oct, 2014 1 commit
    • Martin Flöser's avatar
      [kcmkwin/kwindecoration] Import a new decoration configuration module · 8dd0a816
      Martin Flöser authored
      Following features are supported:
      * finds all plugins
      ** finds all themes for a theme-engine plugin
      * renders previews for the plugin/themes
      * loads currently used plugin/theme
      * saves selected plugin/theme
      * triggers config reload in KWin
      Following features are currently not supported:
      * Search
      * Plugin configuration
      * GHNS
      * Button configuration