1. 20 Nov, 2020 1 commit
  2. 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.
  3. 16 Sep, 2019 3 commits
  4. 29 Jul, 2019 1 commit
    • Vlad Zahorodnii's avatar
      Use more traditional doxygen style · 684b4b63
      Vlad Zahorodnii authored
      So far we were following a bit unique and rare doxygen comment style:
           * Contents of the comment.
      Doxygen comments with this style look balanced and neat, but many people
      that contribute to KWin don't follow this style. Instead, they prefer
      more traditional doxygen comment style, i.e.
           * Contents of the comment.
      Reviewing such changes has been a bit frustrating for me (so selfish!)
      and for other contributors.
      This change switches doxygen comment style in KWin to a more traditional
      style. The main reason for doing this is to make code review process easier
      for new contributors as well us.
      Reviewers: #kwin, davidedmundson
      Reviewed By: #kwin, davidedmundson
      Subscribers: kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D22812
  5. 12 Feb, 2019 1 commit
    • Vlad Zahorodnii's avatar
      Overhaul doxygen comments · 7b20e1f6
      Vlad Zahorodnii authored
      We have a mix of different doxygen comment styles, e.g.
            Foo bar.
           * Foo bar.
          /** Foo bar.
           * Foo bar.
           * Foo bar.
      To make the code more consistent, this change updates the style of all
      doxygen comments to the last one.
      Test Plan: Compiles.
      Reviewers: #kwin, davidedmundson
      Reviewed By: #kwin, davidedmundson
      Subscribers: kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D18683
  6. 26 Oct, 2015 1 commit
    • Martin Flöser's avatar
      Move implementation of Client::packTo to AbstractClient · b19da3cb
      Martin Flöser authored
      Method no longer virtual and only implemented in AbstractClient.
      The implementaton works in a generic way nowadyas.
      Added an autotest for the basic packTo behavior for packing against
      a screen border. Packing towards other clients still needs adjustments
      in the Placement code.
  7. 16 Sep, 2015 1 commit
  8. 27 May, 2015 8 commits
  9. 02 Jan, 2015 1 commit
  10. 12 Feb, 2014 1 commit
  11. 13 May, 2013 1 commit
  12. 15 Apr, 2013 1 commit
    • Martin Flöser's avatar
      Defines to create the boilerplate code for KWin's singleton classes · 0fb27fd1
      Martin Flöser authored
      The define KWIN_SINGLETON adds to a class definition:
          static Foo *create(QObject *parent = 0);
          static Foo *self() { return s_self; }
          explicit Foo(QObject *parent = 0);
          static Foo *s_self;
      There is an additional define KWIN_SINGLETON_VARIABLE to set a different
      name than s_self.
      The define KWIN_SINGLETON_FACTORY can be used to generate the create
      method. It expands to:
      Foo *Foo::s_self = 0;
      Foo *Foo::create(QObject *parent)
          s_self = new Foo(parent);
          return s_self;
      In addition there are defines to again set a different variable name and
      to create an object of another inheriting class.
      All the classes currently using this pattern are adjusted to use these
      new defines. In a few places the name was adjusted. E.g. in Compositor
      the factory method was called createCompositor instead of create.
      REVIEW: 109865
  13. 20 Dec, 2012 2 commits
    • Martin Flöser's avatar
      Move cascadeDesktop and unclutterDesktop to Placement · 835648bc
      Martin Flöser authored
      It is more Placement related and does not really fit into geometry given
      that it only calls methods on Placement. It probably only was inside
      Workspace due to being part of the DBus interface. The DBus methods are
      used by external components so it needs to stay.
      The DBus Wrapper is now calling the methods on the singleton Placement
      directly, so no need in Workspace anymore.
    • Martin Flöser's avatar
      Make Placement a Singleton · 607e175b
      Martin Flöser authored
      No real change as there has only been one Placement instance inside
      Workspace anyway.
  14. 31 Jan, 2011 1 commit
  15. 27 Nov, 2007 1 commit
  16. 29 Apr, 2007 2 commits
  17. 05 Apr, 2007 1 commit
  18. 11 May, 2006 1 commit
  19. 08 Aug, 2005 2 commits
  20. 28 Jul, 2005 1 commit
  21. 31 May, 2004 1 commit
  22. 10 Jan, 2004 1 commit
  23. 16 Sep, 2003 1 commit
  24. 26 Jul, 2003 1 commit
  25. 26 Jul, 2002 1 commit
    • Luboš Luňák's avatar
      Since some of the .h files are installed ... · 78a7c080
      Luboš Luňák authored
      Prefix all the #ifndef #define ... #endif symbols with KWIN_ , just in case
      somebody uses CLIENT_H or so too.
      And don't include config.h .
      svn path=/trunk/kdebase/kwin/; revision=168940
  26. 15 Jul, 2002 1 commit
  27. 29 Jun, 2002 1 commit