aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-22 22:21:23 +0200
committeremersion <contact@emersion.fr>2017-10-22 22:21:23 +0200
commite1d213fccdae068ecc0f11f4321dfd6528163253 (patch)
tree85a056f626277e0e00cd5cbb0b99f8cb531934e8 /include/wlr/interfaces
parentc5fff08f8a63b37ceb42e15641a14384efd163d2 (diff)
Create globals only for enabled outputs in DRM backend
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_output.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index 17dd5538..338d3375 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -26,7 +26,8 @@ void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend,
const struct wlr_output_impl *impl);
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);
+struct wl_global *wlr_output_create_global(struct wlr_output *wlr_output,
+ struct wl_display *display);
+void wlr_output_destroy_global(struct wlr_output *wlr_output);
#endif