diff --git a/src/backend/wayland/wl_backend.c b/src/backend/wayland/wl_backend.c index 4c923da..c67cfee 100644 --- a/src/backend/wayland/wl_backend.c +++ b/src/backend/wayland/wl_backend.c @@ -7262,8 +7262,8 @@ wl_window_get_client_attrs(WNativeWindow win, WClientAttributes *out) if (v && v->xw_surface) { if (v->xw_surface->surface && v->xw_surface->surface->mapped) { out->map_state = WCLIENT_VIEWABLE; - out->width = v->xw_surface->width > 1 ? v->xw_surface->width : 640; - out->height = v->xw_surface->height > 1 ? v->xw_surface->height : 480; + out->width = v->xw_surface->width >= 64 ? v->xw_surface->width : 640; + out->height = v->xw_surface->height >= 64 ? v->xw_surface->height : 480; } else { out->map_state = WCLIENT_UNMAPPED; }