1. 07 Nov, 2020 1 commit
  2. 30 Oct, 2020 1 commit
    • Konstantinos Smanis's avatar
      Allow configuring click behavior in Desktop Grid effect · dbcf43ab
      Konstantinos Smanis authored
      The following click behaviors are defined:
       * Switch desktop and activate window [default]
       * Switch desktop only
      
      The former emulates the previous default of activating clicked windows
      using the Present Windows effect. The latter introduces a new mode where
      the clicked window is not activated, allowing the user to select a
      virtual desktop without worrying about disrupting the last active
      window.
      
      The configuration toggle that controlled the use of the Present Windows
      effect has been subsumed into the first click behavior, i.e., if the
      effect is enabled, it will be implicitly triggered.
      dbcf43ab
  3. 27 Jan, 2020 1 commit
  4. 25 Sep, 2019 1 commit
    • David Edmundson's avatar
      Migrate kwin animation speed to kdeglobals · 78a66fcf
      David Edmundson authored
      Test Plan:
      Tested output piping test lines into the script with different settings
      Removed from my kdeglobals
      Invoked script. New value appeared
      
      (note that if you manually test multiple times locally you have to
      cleanup the $version info from
      both kdeglobals and kwinrc or the migration will be skipped)
      
      Reviewers: zzag
      
      Reviewed By: zzag
      
      Subscribers: zzag, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D24084
      78a66fcf
  5. 06 Jun, 2019 1 commit
    • Roman Gilg's avatar
      kconfig_update for auto border size introduction · d3ad6bc0
      Roman Gilg authored
      Summary:
      If a user has set his border size explicitly in the past also respect this
      selection with the new auto border size mode by setting auto borders to
      false on update.
      
      For this a kconf_update file and a sed based shell script is added.
      
      Test Plan: Manually.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: zzag, davidedmundson, kwin
      
      Tags: #kwin
      
      Maniphest Tasks: T8707
      
      Differential Revision: https://phabricator.kde.org/D13480
      d3ad6bc0
  6. 26 Nov, 2018 1 commit
  7. 29 Oct, 2018 1 commit
    • Vlad Zahorodnii's avatar
      [effects/scale] Port to JavaScript · 862bf0f1
      Vlad Zahorodnii authored
      Summary:
      Now, when the scripting effects API has all required ingredients to port
      the Scale effect to JavaScript we finally can do it.
      
      The main rationale for porting this effect to JavaScript is that
      scripted effects API lets us focus more on what we want instead of
      "how".
      
      Visually, the ported version doesn't deviate from the C++ version.
      
      Test Plan:
      * Enable the Scale effect;
      * Open/close a window.
      
      Reviewers: #kwin, graesslin
      
      Reviewed By: #kwin, graesslin
      
      Subscribers: graesslin, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D16478
      862bf0f1
  8. 23 Oct, 2018 1 commit
    • Vlad Zahorodnii's avatar
      [effects] Re-implement the Minimize Animation effect in JavaScript · eb78b1ca
      Vlad Zahorodnii authored
      Summary:
      There were several reasons to rewrite the Minimize Animation effect in
      JavaScript: to simplify code and to get rid of full repaints. One could
      say that nothing prevents us from calculating the dirty region in
      postPaintScreen or postPaintWindow and it is correct, but with the
      scripting effects API the dirty region will be calculated for us, so we
      can focus more on "what we want" instead of "how".
      
      Visually, the "old" effect and the rewritten one look quite the same.
      Except one tiny bit: if a window doesn't have an icon in the task manager,
      it won't be animated. The reason for that is the purpose of this effect is
      to show where the window will be after it's minimized, if the window
      doesn't have icon in the task manager, one can't click at the center of
      the screen to unminimize the window.
      
      There is one significant change, the name of the effect was changed to
      "Squash". If we put this effect and the Magic lamp effect under "Window
      Minimize Animation" category (or if we add some "heading" label), then
      the old name and the name of the category would "conflict". The new name
      was suggested by Nate Graham and it very closely describes what the
      effect does. "Scale" doesn't fit this effect because while a window is
      being animated, its aspect ratio is not preserved.
      
      Reviewers: #kwin, #plasma, davidedmundson
      
      Reviewed By: #kwin, #plasma, davidedmundson
      
      Subscribers: davidedmundson, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D16372
      eb78b1ca
  9. 12 Aug, 2018 1 commit
    • Vlad Zahorodnii's avatar
      [effects] Drop the Scale in effect · 4299b81f
      Vlad Zahorodnii authored
      Summary:
      It's superseded by the new scale effect(D13461).
      
      Existing users of this effect will be migrated to the new scale effect.
      
      Depends on D13461
      
      Reviewers: #kwin, #plasma, #vdg, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: davidedmundson, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D13462
      4299b81f