mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output: take wl_display in wlr_output_create_global()
Currently wlr_output holds a wl_display, but it will go away soon. Instead of relying on that field in wlr_output_create_global(), make the dependency explicit by taking a wl_display as argument.
This commit is contained in:
parent
6a7463bb8e
commit
5717e27c06
6 changed files with 11 additions and 10 deletions
|
|
@ -279,7 +279,7 @@ struct wlr_surface;
|
|||
* wlr_output_commit().
|
||||
*/
|
||||
void wlr_output_enable(struct wlr_output *output, bool enable);
|
||||
void wlr_output_create_global(struct wlr_output *output);
|
||||
void wlr_output_create_global(struct wlr_output *output, struct wl_display *display);
|
||||
void wlr_output_destroy_global(struct wlr_output *output);
|
||||
/**
|
||||
* Initialize the output's rendering subsystem with the provided allocator and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue