aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-11 22:30:26 +0100
committeremersion <contact@emersion.fr>2018-05-11 22:30:26 +0100
commitcf5013416d3e1f9cbe7d5dd1efda1658a1c7ce6b (patch)
treec8674b3633fc75e50dffc6175b21d74c92c3f4bf /include
parentd6f76bd3f39616878d0ae2c4c4d11f36e112002d (diff)
xdg-output: redesign resource destroy
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_xdg_output.h6
1 files changed, 3 insertions, 3 deletions
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 <wlr/types/wlr_output_layout.h>
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;