1. 15 Aug, 2016 2 commits
    • Martin Flöser's avatar
      Turn ScreenLockerWatcher into a KWIN_SINGLETON · 490eaadb
      Martin Flöser authored
      It's created together with input, so that the input mechanismn already
      has a way to check whether screen is locked.
      
      Effects doesn't hold a member variable any more and instead uses the
      singleton instance.
      490eaadb
    • Martin Flöser's avatar
      Split ScreenLockerWatcher into dedicated source files · d2a3a108
      Martin Flöser authored
      Being able to monitor whether the screen is locked is useful not only
      to the effects system but overall in KWin. Thus to make it possible to
      use it from more locations as a first step it's moved into dedicated
      source files.
      d2a3a108
  2. 13 Aug, 2016 3 commits
  3. 12 Aug, 2016 10 commits
  4. 11 Aug, 2016 7 commits
  5. 10 Aug, 2016 7 commits
    • Martin Flöser's avatar
      Support triggering application launcher through screenedge · 4a16bbbe
      Martin Flöser authored
      Summary:
      Now that we have a dedicated dbus call to show the application launcher
      we can also expose it through the screenedges.
      
      Reviewers: #kwin, #plasma
      
      Subscribers: kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D2394
      4a16bbbe
    • Martin Flöser's avatar
      Force windows of type desktop to be opaque · 7bca270f
      Martin Flöser authored
      Summary:
      Plasmashell's desktop windows are RGBA which forces the compositor to
      perform blending and render the background. That is absolutely pointless
      as there is no window behind the desktop window it could blend to. All it
      does is destroying KWin's more optimized code path and forcing additional
      rendering which will never be visible (including shader push/pop).
      
      With this change KWin forces desktop windows (both X11 and Wayland) to
      be considered as opaque by setting the depth to 24. Thus blending is
      disabled and the background is not rendered.
      
      Test Plan:
      Verified with apitrace that KWin goes in the opaque rendering
      path for desktop windows.
      
      Reviewers: #kwin, #plasma
      
      Subscribers: kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D2382
      7bca270f
    • Martin Flöser's avatar
      Launch Plasma's launcher menu on meta modifier only shortcut by default · 9b30cfef
      Martin Flöser authored
      Summary: Invokes org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.activateLauncherMenu.
      
      Reviewers: #plasma, #kwin, hein
      
      Subscribers: kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D2357
      9b30cfef
    • Martin Flöser's avatar
      Cache the clientSize in DecoratedClientImpl · eed4bf32
      Martin Flöser authored
      Summary:
      So far whenever the window geometry changed the widthChanged and
      heightChanged signals were emitted even if they did not change.
      E.g. while moving a window this resulted in the signal being emitted
      after every step, although from decoration point of view nothing
      changed.
      
      The decoration performed costly tasks like re-layout the window buttons.
      
      With this change the client size is cached and the widthChanged signal
      is only emitted if the width actually changed. Same for heightChanged.
      
      This results in the decoration only re-layouting the buttons if the
      window is resized horizontally. All other geometry changes no longer
      result in a re-layout.
      
      Reviewers: #kwin, #plasma
      
      Subscribers: kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D2389
      eed4bf32
    • Martin Flöser's avatar
      Don't trigger decoration repaint when ShellClient geometry changes · 089059ab
      Martin Flöser authored
      The geometry change will trigger an update through the signals on the
      decoration anyway. Thus a dedicated repaint is not needed.
      089059ab
    • Martin Flöser's avatar
      Only focusToNull when activating a ShellClient · 09ba49e4
      Martin Flöser authored
      ShellClient::doSetActive calls into focusToNull to deactivate active
      windows on X11. But this should only be done when activating a
      ShellClient. When deactivating a ShellClient the focusToNull can
      result in an activated X-client to lose activation.
      
      Thus this change ensures that focusToNull is only performed for a
      now active ShellClient.
      
      Reviewed-By: bshah
      09ba49e4
    • Martin Flöser's avatar
      Add an OpenGL information tab to Debug Console · dad7004d
      Martin Flöser authored
      Summary:
      The new tab shows the information from GLPlatform similar to how it is
      shown in the supportInformation. In addition it also lists all available
      openGL and EGL/GLX extensions. For that kwinglutils is extended by
      functions to return the lists of extensions.
      
      Reviewers: #kwin, #plasma, bshah
      
      Subscribers: kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D2385
      dad7004d
  6. 09 Aug, 2016 7 commits
  7. 08 Aug, 2016 4 commits