[mutter] wayland: Don't include newline in client error events
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Don't include newline in client error events
- Date: Thu, 8 Oct 2020 14:47:33 +0000 (UTC)
commit 7266e516a1f52cbb2e4bb133a1206ced1ad09ad1
Author: Jonas Ådahl <jadahl gmail com>
Date: Fri Oct 2 17:52:37 2020 +0200
wayland: Don't include newline in client error events
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1466
src/wayland/meta-wayland-surface.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index d1894a8cc4..91684cc52b 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -1085,7 +1085,7 @@ wl_surface_set_buffer_transform (struct wl_client *client,
{
wl_resource_post_error (resource,
WL_SURFACE_ERROR_INVALID_TRANSFORM,
- "Trying to set invalid buffer_transform of %d\n",
+ "Trying to set invalid buffer_transform of %d",
transform);
return;
}
@@ -1106,7 +1106,7 @@ wl_surface_set_buffer_scale (struct wl_client *client,
{
wl_resource_post_error (resource,
WL_SURFACE_ERROR_INVALID_SCALE,
- "Trying to set invalid buffer_scale of %d\n",
+ "Trying to set invalid buffer_scale of %d",
scale);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]