From 1e4c1a3b58d77f91223571160cdb2db12ad9386b Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Sat, 8 Jan 2022 22:52:53 +0300 Subject: xdg-toplevel: change parent type to xdg-toplevel This commit changes wlr_xdg_toplevel::parent type from wlr_xdg_surface to wlr_xdg_toplevel. --- 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 247bad15..2fee1453 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -125,7 +125,7 @@ struct wlr_xdg_toplevel { struct wlr_xdg_surface *base; bool added; - struct wlr_xdg_surface *parent; + struct wlr_xdg_toplevel *parent; struct wl_listener parent_unmap; struct wlr_xdg_toplevel_state current, pending; -- cgit v1.2.3