https://bugs.kde.org/show_bug.cgi?id=416145

--- Comment #47 from phd <p...@phd.re> ---
Proof-of-concept for the above (using wmctrl):

krunner/krunner.desktop:
...
Exec=wmctrl -ai `wmctrl -lxG | grep 'plasmashell' | grep -E -- '-1 +0 +0 ' |
cut -d' ' -f1`; dbus-send --type=method_call --dest=org.kde.krunner /App
org.kde.krunner.App.display

In fact using such a light and independent program like wmctrl to focus the
desktop might be beneficial for speed. I'm not sure if requesting PlasmaShell
to focus itself will always be fast. After all what we want is to simply tell
X11/Wayland to move the focus to the desktop's window and send all the future
input there.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to