aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces/wlr_output.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-22 16:43:51 -0400
committerGitHub <noreply@github.com>2017-10-22 16:43:51 -0400
commit86be449a3f04f24a1d0ff3b7b22b12be4a2d3c2c (patch)
tree85a056f626277e0e00cd5cbb0b99f8cb531934e8 /include/wlr/interfaces/wlr_output.h
parentc5fff08f8a63b37ceb42e15641a14384efd163d2 (diff)
parente1d213fccdae068ecc0f11f4321dfd6528163253 (diff)
Merge pull request #318 from emersion/drm-null-outputs
Create globals only for enabled outputs in DRM backend
Diffstat (limited to 'include/wlr/interfaces/wlr_output.h')
-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