diff options
author | Markus Ongyerth <ongy@ongy.net> | 2018-01-24 10:23:48 +0100 |
---|---|---|
committer | Markus Ongyerth <ongy@ongy.net> | 2018-01-24 10:23:48 +0100 |
commit | f946c10cb171644e915deeaa40b5e8f8344a808c (patch) | |
tree | 11755cc97b42390f5c996a9b28bfa3b1c91c388e /include/wlr | |
parent | 3cf7225cec637c90f4a676aa02dee9ad06dadee9 (diff) |
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.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_output.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 1f0fc1ec..55431ab1 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -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, |