mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -04:00
xdg_shell: Extract struct for popup descriptor
This commit is contained in:
parent
1dc661af17
commit
1846944f04
4 changed files with 15 additions and 7 deletions
|
|
@ -90,7 +90,7 @@ struct sway_node *node_at_coords(
|
|||
}
|
||||
|
||||
if (!con) {
|
||||
struct sway_xdg_popup *popup =
|
||||
struct sway_popup_desc *popup =
|
||||
scene_descriptor_try_get(current, SWAY_SCENE_DESC_POPUP);
|
||||
if (popup) {
|
||||
con = popup->view->container;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue