diff options
author | emersion <contact@emersion.fr> | 2018-01-04 12:46:15 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-04 12:46:15 +0100 |
commit | 771263380c3b3b4b412964b0fe53619aa7c580e2 (patch) | |
tree | a24219e8dde1e6b5524cc7965f953e758bee5074 /include/wlr/interfaces | |
parent | ce3a48c3169abf6c76a6aa4ce1ba0f81d0071bff (diff) |
Add wlr_output::enabled
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index 6d71f9b6..d5837def 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -26,14 +26,11 @@ struct wlr_output_impl { }; 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); + const struct wlr_output_impl *impl, struct wl_display *display); void wlr_output_update_mode(struct wlr_output *output, struct wlr_output_mode *mode); void wlr_output_update_custom_mode(struct wlr_output *output, int32_t width, int32_t height, int32_t refresh); -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); +void wlr_output_update_enabled(struct wlr_output *output, bool enabled); #endif |