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

--- Comment #4 from Martin Flöser <mgraess...@kde.org> ---
(In reply to Kai Uwe Broulik from comment #3)
> Figured that but we explicitly got rid of the WinId stuff in global menu..
> but then we also need an even more broadscale solution for Wayland (foreign
> window thingie).

Now comes the crazy part: on Wayland that's easier. There's the XdgExporter
(https://api.kde.org/frameworks/kwayland/html/classKWayland_1_1Client_1_1XdgExporter.html
) and XdgImporter class in KWayland. The application would export the window
(e.g. Plasma-integration could do that), pass the exported string through a
side channel (e.g. dbus) to Appmenu, which uses the XdgImporter to mark the
menu as a transient to the window.

Now in theory we could pass also an X11 window id through this mechanism. E.g.
a string "x11/12345" could be used by KWin to map the X11 window 12345 in the
same way.

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

Reply via email to