From f795aa1c95b1283c0a32b03c80dced14389cd38a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 7 Feb 2022 20:51:19 +0100 Subject: xdg-shell: use wlr_xdg_toplevel in sway_view Improved type safety. Closes: https://github.com/swaywm/sway/issues/6813 --- include/sway/tree/view.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sway') diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 9e34b0d1..5f8d2f58 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -108,7 +108,7 @@ struct sway_view { list_t *executed_criteria; // struct criteria * union { - struct wlr_xdg_surface *wlr_xdg_surface; + struct wlr_xdg_toplevel *wlr_xdg_toplevel; #if HAVE_XWAYLAND struct wlr_xwayland_surface *wlr_xwayland_surface; #endif -- cgit v1.2.3