summaryrefslogtreecommitdiff
path: root/hw/xwayland/xwayland-screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwayland/xwayland-screen.c')
-rw-r--r--hw/xwayland/xwayland-screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwayland/xwayland-screen.c b/hw/xwayland/xwayland-screen.c
index 94085af34..46ab4fed7 100644
--- a/hw/xwayland/xwayland-screen.c
+++ b/hw/xwayland/xwayland-screen.c
@@ -432,7 +432,7 @@ registry_global(void *data, struct wl_registry *registry, uint32_t id,
NULL);
}
else if (strcmp(interface, "wl_output") == 0 && version >= 2) {
- if (xwl_output_create(xwl_screen, id, (xwl_screen->fixed_output == NULL)))
+ if (xwl_output_create(xwl_screen, id, (xwl_screen->fixed_output == NULL), version))
xwl_screen->expecting_event++;
}
else if (strcmp(interface, "zxdg_output_manager_v1") == 0) {