mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Make the xdg_popup_get_position to public
Rename the xdg_popup_get_position to wlr_xdg_popup_get_position
This commit is contained in:
parent
76f51a949f
commit
11040d4942
2 changed files with 8 additions and 3 deletions
|
|
@ -320,6 +320,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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue