diff options
author | Simon Ser <contact@emersion.fr> | 2023-08-12 08:24:08 +0200 |
---|---|---|
committer | Isaac Freund <mail@isaacfreund.com> | 2023-11-23 11:39:25 +0000 |
commit | 6a7463bb8e29c55b906dd66e2ce3625dcccbd3f4 (patch) | |
tree | 11e408582c20af68bc6159ac325cb1da6ab354b2 /examples/fullscreen-shell.c | |
parent | 63792b38e46ae1741a6492d3c0183cb9566e4c9f (diff) |
output-layout: take wl_display in constructor
The output layout creates and destroys wl_output globals. We will
soon need the wl_display to do so.
Diffstat (limited to 'examples/fullscreen-shell.c')
-rw-r--r-- | examples/fullscreen-shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fullscreen-shell.c b/examples/fullscreen-shell.c index 5c36b8b1..afc3c876 100644 --- a/examples/fullscreen-shell.c +++ b/examples/fullscreen-shell.c @@ -221,7 +221,7 @@ int main(int argc, char *argv[]) { wlr_compositor_create(server.wl_display, 5, server.renderer); - server.output_layout = wlr_output_layout_create(); + server.output_layout = wlr_output_layout_create(server.wl_display); wl_list_init(&server.outputs); server.new_output.notify = server_handle_new_output; |