aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 5f6c2ead..8f3626fd 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -177,6 +177,11 @@ struct sway_xwayland_unmanaged {
177}; 177};
178#endif 178#endif
179 179
180struct sway_popup_desc {
181 struct wlr_scene_node *relative;
182 struct sway_view *view;
183};
184
180struct sway_xdg_popup { 185struct sway_xdg_popup {
181 struct sway_view *view; 186 struct sway_view *view;
182 187
@@ -184,6 +189,8 @@ struct sway_xdg_popup {
184 struct wlr_scene_tree *xdg_surface_tree; 189 struct wlr_scene_tree *xdg_surface_tree;
185 struct wlr_xdg_popup *wlr_xdg_popup; 190 struct wlr_xdg_popup *wlr_xdg_popup;
186 191
192 struct sway_popup_desc desc;
193
187 struct wl_listener surface_commit; 194 struct wl_listener surface_commit;
188 struct wl_listener new_popup; 195 struct wl_listener new_popup;
189 struct wl_listener destroy; 196 struct wl_listener destroy;