re-adds wlr_output_update_enabled

Re-add the wlr_output_update_enabled to make sure
wlr_output::events.enable is called when the output enabled state
changes.
This commit is contained in:
Markus Ongyerth 2018-01-24 10:23:48 +01:00
parent 3cf7225cec
commit f946c10cb1
7 changed files with 18 additions and 9 deletions

View file

@ -89,8 +89,8 @@ struct wlr_output {
struct wlr_surface;
void wlr_output_enable(struct wlr_output *output, bool enable);
void wlr_output_create_global();
void wlr_output_destroy_global();
void wlr_output_create_global(struct wlr_output *output);
void wlr_output_destroy_global(struct wlr_output *output);
bool wlr_output_set_mode(struct wlr_output *output,
struct wlr_output_mode *mode);
bool wlr_output_set_custom_mode(struct wlr_output *output, int32_t width,