diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-21 22:03:29 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-10-21 22:03:48 -0400 |
commit | 16f35ecbeacd685e7d9905a7867d8c950e369f2e (patch) | |
tree | c9cd07e837b454ff227fde4d7511a98c805bca27 /include/wlr/interfaces | |
parent | 169b68b17c668fc6d3feec92f3cf72308ba4e99c (diff) | |
parent | d4e311a1adeee7cfd2a4404d716f3e0237ead607 (diff) |
Merge branch 'master' into heghe/wl_list
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index b7927569..17dd5538 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -1,8 +1,9 @@ #ifndef WLR_INTERFACES_WLR_OUTPUT_H #define WLR_INTERFACES_WLR_OUTPUT_H -#include <wlr/types/wlr_output.h> #include <stdbool.h> +#include <wlr/types/wlr_output.h> +#include <wlr/backend.h> struct wlr_output_impl { void (*enable)(struct wlr_output *output, bool enable); @@ -21,7 +22,8 @@ struct wlr_output_impl { uint16_t (*get_gamma_size)(struct wlr_output *output); }; -void wlr_output_init(struct wlr_output *output, const struct wlr_output_impl *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); void wlr_output_update_matrix(struct wlr_output *output); struct wl_global *wlr_output_create_global( |