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

--- Comment #14 from Michail Vourlakos <mvourla...@gmail.com> ---
(In reply to Martin Flöser from comment #13)
> It's possible on X11, it's impossible on Wayland without support from KWin.
> On X11 it's a mess and I strongly advise against trying to do anything about
> it. KWin has detection on X11 for when Meta is pressed, but the code is
> still not correct - after years.

yeah I agree, I do not also like X11-only-centric solutions.

Plasma is using an approach for this when is trying to catch the Alt key
pressing, the following code is found in the Global menu plasmoid:


        PlasmaCore.DataSource {
            id: keystateSource
            engine: "keystate"
            connectedSources: ["Alt"]
        }

I suppose that this should not work under wayland...

Best approach for this is:

1. make engine: "keystate" to support "Meta" under X11
2. make engine: "keystate" to support this also under wayland probably through
kwin.

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

Reply via email to