xdg shell: make unconstrain_from_box arg const

This commit is contained in:
Isaac Freund 2021-01-07 21:03:24 +01:00 committed by Simon Ser
parent 9192c0480a
commit 129e02b57d
2 changed files with 6 additions and 6 deletions

View file

@ -346,7 +346,7 @@ void wlr_xdg_popup_get_toplevel_coords(struct wlr_xdg_popup *popup,
* surface coordinate system.
*/
void wlr_xdg_popup_unconstrain_from_box(struct wlr_xdg_popup *popup,
struct wlr_box *toplevel_sx_box);
const struct wlr_box *toplevel_sx_box);
/**
Invert the right/left anchor and gravity for this positioner. This can be