aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm.h1
-rw-r--r--include/wlr/interfaces/wlr_output.h2
-rw-r--r--include/wlr/types/wlr_output.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/include/backend/drm.h b/include/backend/drm.h
index 2c78e3d9..f37a5cd2 100644
--- a/include/backend/drm.h
+++ b/include/backend/drm.h
@@ -32,6 +32,7 @@ struct wlr_backend_state {
dev_t dev;
struct wlr_backend *backend;
+ struct wl_display *display;
struct wl_event_source *drm_event;
struct wl_listener session_signal;
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];