This repository was archived by the owner on Oct 8, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 175
feat(wayland): popup window #196
Copy link
Copy link
Open
Labels
E-very-complexVery difficult. Do not attempt without significant relevant experience and motivation.Very difficult. Do not attempt without significant relevant experience and motivation.enhancementNew feature or requestNew feature or request
Description
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 obtain xdg_surface for it.
This means we also needs to get the xdg_wm_base global, but smithay_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 our Window type. Hence, it will be able to become a webview and render the menu we want to display.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
E-very-complexVery difficult. Do not attempt without significant relevant experience and motivation.Very difficult. Do not attempt without significant relevant experience and motivation.enhancementNew feature or requestNew feature or request