1. 09 Jul, 2020 1 commit
  2. 18 Jun, 2020 3 commits
  3. 17 Jun, 2020 3 commits
  4. 11 Jun, 2020 1 commit
  5. 09 Jun, 2020 1 commit
  6. 12 May, 2020 1 commit
    • Vlad Zahorodnii's avatar
      [scripting] Introduce writable frameGeometry property · 079f9890
      Vlad Zahorodnii authored
      Summary:
      The geometry property has been deprecated for quite some time and its
      usage in scripts is highly discouraged. Since AbstractClient overrides
      the geometry property to make it writable, the same thing must be done
      for the frameGeometry property.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D29666
      079f9890
  7. 29 Jan, 2020 2 commits
  8. 04 Jan, 2020 1 commit
  9. 02 Nov, 2019 1 commit
  10. 25 Oct, 2019 1 commit
    • Vlad Zahorodnii's avatar
      [scripting] Provide conversion functions for AbstractClient · a738ecce
      Vlad Zahorodnii authored
      Summary:
      If no conversion functions are provided for a QObject-subclass, then
      QScriptEngine will use QScriptEngine::newQObject() method without any
      special options to convert an instance of that QObject-subclass to a
      QScriptValue. However, it's very important that every client object is
      wrapped with PreferExistingWrapperObject option. We need that option
      because a script may set a property on a client object and that property
      must remain until it's deleted by the script.
      
      BUG: 413044
      FIXED-IN: 5.17.2
      
      Test Plan: New test.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: davidedmundson, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D24944
      a738ecce
  11. 23 Oct, 2019 3 commits
  12. 17 Oct, 2019 1 commit
  13. 29 Sep, 2019 1 commit
  14. 18 Sep, 2019 1 commit
    • Anton Smerkov's avatar
      Emphasize minimization in MinimizeAll script · fec0ab81
      Anton Smerkov authored
      Summary:
      MinimizeAll should work as follows:
      
      > As long as there's something to minimize, do that.
      > Otherwise unminimize only the windows we minimized
      > on last invocation.
      
      Quote above is from Comment 11 by Thomas Lübking of BUG: 356161.
      
      But current code does not fulfill these duties. Try next case: run minimizeall on some windows, then click on one of windows, then run minimizeall again. All windows would be unminimized!
      
      I have tried to make small changes to original code of main.js, but i can't because i don't understand it.
      
      Thats why i wrote my own version. Then i changed my version to version of zzag, because his code is more simple. I have tested both versions.
      
      BUG: 356161
      
      Reviewers: colomar, #kwin, zzag
      
      Reviewed By: #kwin, zzag
      
      Subscribers: romangg, zzag, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D24044
      fec0ab81
  15. 07 Aug, 2019 2 commits
  16. 04 Aug, 2019 2 commits
  17. 31 Jul, 2019 3 commits
  18. 16 Jul, 2019 1 commit
    • Aleix Pol Gonzalez's avatar
      Install KPackages with kpackage_install_package · 6cd9b2ba
      Aleix Pol Gonzalez authored
      Summary:
      Removes a bunch of boilerplate CMake code and allows kpackage to do
      some smart things, e.g. drops our runtime dependency on the
      DesktopFileParser and we get to just use json directly.
      
      Test Plan: Ran kwin, now it doesn't use the desktop to json translation path, everything still works.
      
      Reviewers: #kwin, zzag
      
      Reviewed By: #kwin, zzag
      
      Subscribers: davidedmundson, zzag, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D22474
      6cd9b2ba
  19. 13 Jul, 2019 1 commit
  20. 28 Jun, 2019 1 commit
    • Vlad Zahorodnii's avatar
      [scripts] Drop enforcedeco script · 06363b1c
      Vlad Zahorodnii authored
      Summary:
      GTK clients check whether _GTK_FRAME_EXTENTS is in _NET_SUPPORTED, so we
      don't need this script anymore.
      
      Also, because GTK clients don't set shadow extents, this script
      is doing nothing.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: ngraham, jackg, broulik, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D21371
      06363b1c
  21. 23 May, 2019 1 commit
    • Vlad Zahorodnii's avatar
      [scripting] Emit clientAdded for Wayland clients · 4bbef8d1
      Vlad Zahorodnii authored
      Summary:
      Currently, if a script relies on clientAdded to setup some required
      connections, then it probably won't work with Wayland clients because
      clientAdded is emitted only for X11 clients.
      
      Test Plan:
      * Installed sticky window snapping script, it works;
      * Installed a couple of tiling scripts, with some small changes, they work.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: strobach, TomButler, davidedmundson, mart, graesslin, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D17097
      4bbef8d1
  22. 17 Feb, 2019 3 commits
  23. 16 Jan, 2019 1 commit
  24. 24 Dec, 2018 1 commit
  25. 22 Nov, 2018 1 commit
  26. 31 Oct, 2018 2 commits