xdg-output: redesign resource destroy

This commit is contained in:
emersion 2018-05-11 22:30:26 +01:00
parent d6f76bd3f3
commit cf5013416d
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 75 additions and 51 deletions

View file

@ -4,10 +4,10 @@
#include <wlr/types/wlr_output_layout.h>
struct wlr_xdg_output {
struct wl_list link;
struct wl_list resources;
struct wlr_xdg_output_manager *manager;
struct wl_list resources;
struct wl_list link;
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;