diff --git a/hw/xwayland/xwayland-screen.c b/hw/xwayland/xwayland-screen.c index 89d758b04..59554b734 100644 --- a/hw/xwayland/xwayland-screen.c +++ b/hw/xwayland/xwayland-screen.c @@ -495,7 +495,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;