mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
xdg-popup: validate positioner on reposition request
This commit is contained in:
parent
e7deea44fd
commit
1e58e4006d
3 changed files with 20 additions and 8 deletions
|
|
@ -446,6 +446,11 @@ void wlr_xdg_popup_destroy(struct wlr_xdg_popup *popup);
|
|||
void wlr_xdg_popup_get_position(struct wlr_xdg_popup *popup,
|
||||
double *popup_sx, double *popup_sy);
|
||||
|
||||
/**
|
||||
* Returns true if a positioner is complete.
|
||||
*/
|
||||
bool wlr_xdg_positioner_is_complete(struct wlr_xdg_positioner *positioner);
|
||||
|
||||
/**
|
||||
* Get the geometry based on positioner rules.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue