diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-22 16:43:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-22 16:43:51 -0400 |
commit | 86be449a3f04f24a1d0ff3b7b22b12be4a2d3c2c (patch) | |
tree | 85a056f626277e0e00cd5cbb0b99f8cb531934e8 /include/wlr | |
parent | c5fff08f8a63b37ceb42e15641a14384efd163d2 (diff) | |
parent | e1d213fccdae068ecc0f11f4321dfd6528163253 (diff) |
Merge pull request #318 from emersion/drm-null-outputs
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 |