diff options
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_output.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index 4f29b54f..0949bca3 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -19,5 +19,7 @@ struct wlr_output *wlr_output_create(struct wlr_output_impl *impl, struct wlr_output_state *state); void wlr_output_free(struct wlr_output *output); void wlr_output_update_matrix(struct wlr_output *output); +struct wl_global *wlr_output_create_global( + struct wlr_output *wlr_output, struct wl_display *display); #endif diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 8ccf87e1..71e1d0fe 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -19,6 +19,8 @@ struct wlr_output_state; struct wlr_output { const struct wlr_output_impl *impl; struct wlr_output_state *state; + struct wl_global *wl_global; + struct wl_list resource_list; uint32_t flags; char name[16]; |