feat(wayland): popup window #196
Labels
E-very-complex
Very difficult. Do not attempt without significant relevant experience and motivation.
enhancement
New feature or request
While we can use muda to create context menu, it requires GTK as dependency.
We want to go with more native approach so I'm researching smithay-client-toolkit at the moment.
According to wayland protocol, we need to get window's
wl_surface
and obtainxdg_surface
for it.This means we also needs to get the
xdg_wm_base
global, butsmithay_client_toolkit
doesn't seem to have anywhere to explain how to get this.The rests steps are almost from the method of
xdg_wm_base
as well.If we could get the
wl_surface
of the popup window, we can think about how to add it into ourWindow
type. Hence, it will be able to become a webview and render the menu we want to display.The text was updated successfully, but these errors were encountered: