Skip to content
  • David Redondo's avatar
    Open Klipper under mouse also on wayland · 338772ca
    David Redondo authored
    On Wayland if Plasma had no focus when the shortcut was invoked
    - the menu window is  created as toplevel because it has no parent and
      there is no current focusWindow
    - the application can't know the currrent cursor position
    We use a newly introduced request on plasma_surface to open under the cursor.
    As it can only be called before mapping a buffer to a surface, the menu is hidden
    before being shown again.
    BUG:436249
    FIXED-IN:5.25
    338772ca