diff options
author | 2024-12-19 01:12:54 +0200 | |
---|---|---|
committer | 2024-12-19 10:36:46 +0200 | |
commit | 8bbf22390f25b0376c58f5a7b82ea8e98f2c4b23 (patch) | |
tree | 50a5ac112c90a6db8ee7544ab7aaf0e245d5b4bc | |
parent | 72ff5231c8ec1c491930464e0e8bcbc18b767e0c (diff) |
compositor: Update to new window-output-api APInext
Weston 14 changed slightly the args so let use them as well.
Bug-AGL: SPEC-5312
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ic09e9a957c2dd1affe667df23de70f1e70c35fd3
-rw-r--r-- | src/compositor.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/compositor.c b/src/compositor.c index 6aec416..68001bf 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1114,7 +1114,8 @@ load_wayland_backend(struct ivi_compositor *ivi, int *argc, char *argv[], wl_list_insert(&ivi->backends, &ivi_backend->link); - ivi->window_api = weston_windowed_output_get_api(ivi->compositor); + ivi->window_api = weston_windowed_output_get_api(ivi->compositor, + WESTON_WINDOWED_OUTPUT_WAYLAND); /* * We will just assume if load_backend() finished cleanly and @@ -1196,7 +1197,8 @@ load_x11_backend(struct ivi_compositor *ivi, int *argc, char *argv[], &ivi_backend->heads_changed); - ivi->window_api = weston_windowed_output_get_api(ivi->compositor); + ivi->window_api = weston_windowed_output_get_api(ivi->compositor, + WESTON_WINDOWED_OUTPUT_X11); if (!ivi->window_api) { weston_log("Cannot use weston_windowed_output_api.\n"); return -1; |