From 129e02b57d95c979ec230f115b510559102606cf Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 7 Jan 2021 21:03:24 +0100 Subject: xdg shell: make unconstrain_from_box arg const --- include/wlr/types/wlr_xdg_shell.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wlr') 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 -- cgit v1.2.3