aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-01-07 21:03:24 +0100
committerSimon Ser <contact@emersion.fr>2021-01-07 21:28:55 +0100
commit129e02b57d95c979ec230f115b510559102606cf (patch)
tree7482a8160877d72932ed52efc6a6bc7763e764c5 /include/wlr
parent9192c0480a9bfb5603ea6b7891829a3140acc6fe (diff)
xdg shell: make unconstrain_from_box arg const
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_xdg_shell.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h
index 8ca3a2b1..04addfe1 100644
--- a/include/wlr/types/wlr_xdg_shell.h
+++ b/include/wlr/types/wlr_xdg_shell.h
@@ -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