1. 24 Nov, 2020 5 commits
    • Vlad Zahorodnii's avatar
      Introduce Platform::{outputAdded, outputRemoved} signals · 6f83132b
      Vlad Zahorodnii authored
      These new signals can be useful if you are interested only in when a
      specific output gets added or removed.
    • Vlad Zahorodnii's avatar
      Introduce infrastructure for compositor extensions · c766e5da
      Vlad Zahorodnii authored
      The scripting api is not suitable for implementing all features that
      should not be implemented in libkwin. For example, the krunner
      integration or screencasting are the things that don't belong to be
      compiled right into kwin and yet we don't have any other choice.
      This change introduces a quick and dirty plugin infrastructure that
      can be used to implement things such as colord integration, krunner
      integration, etc.
    • Andrey Butirsky's avatar
      feat: expose keyboard layout Short Name via DBus · a482d73d
      Andrey Butirsky authored
      Due space constraints, Short Name is the only name suitable for keyboard
      layout indication on panels and systray. Usually it's just 2 symbols
      corresponding to standard ISO country code.
      libxkbcommon doesn't have this information, so we have to store it in
      compositor for the exposing:
      It's exposed by getLayoutDisplayName() DBus method now, as it should initially.
      For Long Name, getCurrentLayoutLongName() method was added.
      Relevant P-W commits:
      Keyboard Layout plugin: passthrough Short Name from compositor to QML applet
      fix: Keyboard Layout plugin: wrong property for passing Short Name
      X11 part, P-D:
      feat: expose keyboard layout Long Name via DBus
      CCBUG: 390079
    • Bhushan Shah's avatar
    • Bhushan Shah's avatar
      Make it possible to disable partial update at runtime · 870679e4
      Bhushan Shah authored
      This makes it possible to disable the partial updates and the swap
      buffers with damage at runtime.
  2. 23 Nov, 2020 6 commits
  3. 22 Nov, 2020 4 commits
    • David Edmundson's avatar
      [autotests] Fix decoration input test · 30f9e2a5
      David Edmundson authored
      QTRY_COMPARE doesn't work well with how we do our wayland event
      We know the client hasn't processed any events yet, so we can safely do
      a normal wait.
    • David Edmundson's avatar
      Add an explicit quit mechanism controlled by plasma · 71ce1f7a
      David Edmundson authored
      On X Kwin's lifespan used to be managed by XSMP. This accidentally broke
      in 5.20 as we made kwin start before ksmserver for speed purposes.
      This leaves kwin to be killed by the display manager as the X connection
      closes, but this can lead to deadlocks.
      On wayland kwin's lifespan is mapped to the lifespan of the ksmserver
      binary. This is problematic as it makes our entire xwayland robustness
      redundant if we ultimately rely on an application that /has/ to run in
      BUG: 427688
    • Xaver Hugl's avatar
      Add a QRect to showWindowMenu · 8f104815
      Xaver Hugl authored and David Edmundson's avatar David Edmundson committed
      This is so we don't have to rely on the cursor position for the popup
      BUG: 393163
    • David Edmundson's avatar
      Bundle QPA plugin directly · 5e60e64a
      David Edmundson authored
      On wayland, we know we're always going to load our internal QPA. Instead
      of shipping a plugin and loading it dynamically we can use Qt static
      This should result in slightly faster load times, but also reduce the
      number of moving pieces for kwin.
      This also prevents anyone outside kwin loading our QPA which wouldn't
      have made any sense and just crashed.
  4. 20 Nov, 2020 3 commits
  5. 19 Nov, 2020 6 commits
  6. 18 Nov, 2020 3 commits
    • Nate Graham's avatar
      [kcmkwin/kwindecoration] Clean up QML code · 592c82ab
      Nate Graham authored
      Various fixes:
      - Remove unneeded PlasmaCore import
      - Re-arrange imports to be alphabetical and grouped consistently
      - Use standard import names
      - Use Kirigami units explicitly
      - Remove unused ids
      - Remove unneeded cases of setting aproperty to its default value
      - Use Layouts where appropriate instead of lots of anchors
      - Reduce number of unnecessary items
      - Fix inappropriate mutation of `width` and `height` inside layouts
      Visual changes are extremely minor and of a bugfixy nature.
      BUG: 428883
      FIXED-IN: 5.21
    • Chaojiang Luo's avatar
      fix: Restore full screen window to the right screen · 99c5f0ae
      Chaojiang Luo authored and David Edmundson's avatar David Edmundson committed
      We should use the geometry restore to check the full screen workspace
      to make sure the window is on the right screen.
          1.plug extend display, change to Extend mode
          2.start a window, move to extend display, change to fullscreen
          3.unplug the extend display
          4.re-plug the extend display
      Now, the full screen window do not restore to the extend display
    • xinbo wang's avatar
      fix: magiclamp effect wrong direction. · 44b2a3f8
      xinbo wang authored and David Edmundson's avatar David Edmundson committed
      if the dock is on the top,and the dock is not close together with screen edge.
      for example,the dock is 10 pixels taller then sceen edge,the "position" will be "Bottom".
      Autually,the dock is on the top of screen.
  7. 17 Nov, 2020 3 commits
  8. 16 Nov, 2020 4 commits
  9. 14 Nov, 2020 1 commit
  10. 13 Nov, 2020 3 commits
  11. 12 Nov, 2020 2 commits