Commit 134426df authored by Vlad Zahorodnii's avatar Vlad Zahorodnii Committed by Aleix Pol Gonzalez
Browse files

xdg-shell: Provide more helpful description for invalid window geometry error

parent fce5150f
Pipeline #48279 passed with stage
in 6 minutes and 44 seconds
......@@ -247,7 +247,8 @@ void XdgSurfaceInterfacePrivate::xdg_surface_set_window_geometry(Resource *resou
}
if (width < 1 || height < 1) {
wl_resource_post_error(resource->handle, -1, "invalid window geometry size");
wl_resource_post_error(resource->handle, -1, "invalid window geometry size (%dx%d)",
width, height);
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment