From cf5013416d3e1f9cbe7d5dd1efda1658a1c7ce6b Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 11 May 2018 22:30:26 +0100 Subject: xdg-output: redesign resource destroy --- include/wlr/types/wlr_xdg_output.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_xdg_output.h b/include/wlr/types/wlr_xdg_output.h index 27dad2b8..5e6a0780 100644 --- a/include/wlr/types/wlr_xdg_output.h +++ b/include/wlr/types/wlr_xdg_output.h @@ -4,10 +4,10 @@ #include struct wlr_xdg_output { - struct wl_list link; + struct wlr_xdg_output_manager *manager; struct wl_list resources; + struct wl_list link; - struct wlr_xdg_output_manager *manager; struct wlr_output_layout_output *layout_output; struct wl_listener destroy; @@ -15,7 +15,7 @@ struct wlr_xdg_output { struct wlr_xdg_output_manager { struct wl_global *global; - + struct wl_list resources; struct wlr_output_layout *layout; struct wl_list outputs; -- cgit v1.2.3