diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-22 14:26:02 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-22 14:27:35 -0400 |
commit | 168f0955ab5d6b614eb841bcb0ea684dd9105ef8 (patch) | |
tree | 968cab10e28125c78c54da78444b0a4128fb798c /include/wlr | |
parent | 5055d899550a92d72362efe6add44b2547147599 (diff) |
Add wl_output globals for wlr_outputs
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]; |