wayland: Don't include newline in client error events
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1466
This commit is contained in:
parent
313e3e771c
commit
7266e516a1
@ -1085,7 +1085,7 @@ wl_surface_set_buffer_transform (struct wl_client *client,
|
|||||||
{
|
{
|
||||||
wl_resource_post_error (resource,
|
wl_resource_post_error (resource,
|
||||||
WL_SURFACE_ERROR_INVALID_TRANSFORM,
|
WL_SURFACE_ERROR_INVALID_TRANSFORM,
|
||||||
"Trying to set invalid buffer_transform of %d\n",
|
"Trying to set invalid buffer_transform of %d",
|
||||||
transform);
|
transform);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -1106,7 +1106,7 @@ wl_surface_set_buffer_scale (struct wl_client *client,
|
|||||||
{
|
{
|
||||||
wl_resource_post_error (resource,
|
wl_resource_post_error (resource,
|
||||||
WL_SURFACE_ERROR_INVALID_SCALE,
|
WL_SURFACE_ERROR_INVALID_SCALE,
|
||||||
"Trying to set invalid buffer_scale of %d\n",
|
"Trying to set invalid buffer_scale of %d",
|
||||||
scale);
|
scale);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user