xdg_shell: Extract struct for popup descriptor

This commit is contained in:
Alexander Orzechowski 2024-01-23 10:17:26 -05:00 committed by Kirill Primak
parent 1dc661af17
commit 1846944f04
4 changed files with 15 additions and 7 deletions

View file

@ -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;