1. 30 Sep, 2017 1 commit
  2. 19 Aug, 2017 1 commit
    • Martin Flöser's avatar
      Create a dedicated X11EventFilter for recognizing first user interaction · 36a31898
      Martin Flöser authored
      Summary:
      Workspace monitors the X11 events to detect when the user first
      interacts with the system. This is only required on X11 for activating
      the same client from previous session. So far this was spread over many
      parts in the long event switch statement. To make this more contained a
      dedicated event filter is introduced which also gets deleted again once
      the first user interaction got recognized.
      
      Test Plan: Compiles
      
      Reviewers: #kwin, #plasma
      
      Subscribers: plasma-devel, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D7371
      36a31898
  3. 17 Jul, 2017 1 commit
  4. 26 Jun, 2017 1 commit
    • Martin Flöser's avatar
      Refactor the specification of OpenGL context attributes · 3f4995fb
      Martin Flöser authored
      Summary:
      The current way to specify the OpenGL context attributes does no longer
      scale as can be seen in D6344. There are too many different context
      attribute sets and with every addition we grow lots of copied code. The
      chances to introduce errors in that code which is difficult to debug are
      very high. As can be seen in the glx backend which defines major 1,
      minor 2, but it should be major 2, minor 1.
      
      This change reworks this code by creating a builder class which contains
      only an abstract definition of what needs to be in the attributes.
      E.g. the version, whether it's robust and so on.
      
      Now we can just have a list of possible attributes in a well described
      way:
          auto builder;
          builder.setVersion(3, 1);
          builder.setRobust(true);
      
      All possible builders are added to a list and operated on in a for loop
      which tries to creat a context. Once it succeeded it breaks the list.
      In addition a debug statement is added which prints out the set of
      options which went into the context.
      
      So far this is only done for EGL, GLX can follow once D6344 is merged.
      
      Test Plan: New unit test added, kwin_wayland OpenGL tests run and verified
      
      Reviewers: #kwin, #plasma
      
      Subscribers: plasma-devel, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D6396
      3f4995fb
  5. 27 Jan, 2015 1 commit
    • Martin Flöser's avatar
      Use Xcb::GeometryHints instead of XGetWMNormalHints · 2076e458
      Martin Flöser authored
      Xcb::GeometryHints is a convenient wrapper around the size hints
      as described in ICCCM combined with the sanity checks so far applied
      by KWin after reading the property.
      
      Instead of accessing the members of the property structure, we are
      now using the convenience methods.
      
      During ::manage no further actions are triggered when reading the
      size hints. Only when they are read later on the previous checks
      are applied. During ::manage they can be ignored as it had a dedicated
      isManaged check.
      
      The method ::resizeWithCheck got a new argument of type xcb_gravity_t
      which defaults to 0. This is needed from ::configureRequest which so
      far temporarily changed the xSizeHints structure. By passing as an
      argument this is no longer needed.
      
      REVIEW: 122185
      2076e458
  6. 03 May, 2013 1 commit
  7. 31 Jan, 2011 1 commit
  8. 27 Nov, 2007 1 commit
  9. 29 Apr, 2007 2 commits
  10. 05 Apr, 2007 1 commit
  11. 11 May, 2006 1 commit
  12. 16 Sep, 2003 1 commit
  13. 29 Jul, 2003 3 commits
  14. 26 Jul, 2003 1 commit
  15. 15 Jun, 2003 1 commit
  16. 07 Jan, 2003 1 commit
    • Karol Szwed's avatar
      Add a window geometry tip when users move/resize a window. Currently it is · 235b534b
      Karol Szwed authored
      enabled by default, but will be made configurable soon. There is a known
      issue with an incorrect geometry shown with konsole, but that's its fault,
      and I'll get to that shortly (xterm does the right thing).
      
      Disclaimer:
      If it jams - force it. If it breaks, it probably needed replacing anyway.
      
      svn path=/trunk/kdebase/kwin/; revision=197992
      235b534b