diff --git a/hw/xwayland/xwayland-screen.c b/hw/xwayland/xwayland-screen.c index 74ea06610..11d25622b 100644 --- a/hw/xwayland/xwayland-screen.c +++ b/hw/xwayland/xwayland-screen.c @@ -492,7 +492,7 @@ registry_global(void *data, struct wl_registry *registry, uint32_t id, struct xwl_screen *xwl_screen = data; if (strcmp(interface, wl_compositor_interface.name) == 0) { - uint32_t request_version = 1; + uint32_t request_version = WL_SURFACE_SET_BUFFER_SCALE_SINCE_VERSION; if (version >= WL_SURFACE_DAMAGE_BUFFER_SINCE_VERSION) request_version = WL_SURFACE_DAMAGE_BUFFER_SINCE_VERSION;