diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_xdg_shell.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index ec715bf4..856648f9 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -321,6 +321,11 @@ void wlr_xdg_toplevel_set_parent(struct wlr_xdg_surface *surface, void wlr_xdg_popup_destroy(struct wlr_xdg_surface *surface); /** + * Get the position for this popup in the surface parent's coordinate system. + */ +void wlr_xdg_popup_get_position(struct wlr_xdg_popup *popup, + double *popup_sx, double *popup_sy); +/** * Get the geometry for this positioner based on the anchor rect, gravity, and * size of this positioner. */ |