chase: output-layout takes wl_display in constructor

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4310
This commit is contained in:
Consolatis 2024-03-18 23:55:37 +01:00 committed by Johan Malm
parent d37309008c
commit 50047db8b2
3 changed files with 2 additions and 4 deletions

View file

@ -431,7 +431,7 @@ output_init(struct server *server)
* Create an output layout, which is a wlroots utility for working with
* an arrangement of screens in a physical layout.
*/
server->output_layout = wlr_output_layout_create();
server->output_layout = wlr_output_layout_create(server->wl_display);
if (!server->output_layout) {
wlr_log(WLR_ERROR, "unable to create output layout");
exit(EXIT_FAILURE);