diff options
author | emersion <contact@emersion.fr> | 2017-10-22 22:21:23 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-10-22 22:21:23 +0200 |
commit | e1d213fccdae068ecc0f11f4321dfd6528163253 (patch) | |
tree | 85a056f626277e0e00cd5cbb0b99f8cb531934e8 /include/wlr | |
parent | c5fff08f8a63b37ceb42e15641a14384efd163d2 (diff) |
Create globals only for enabled outputs in DRM backend
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 5 |
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 |