From 7266e516a1f52cbb2e4bb133a1206ced1ad09ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 2 Oct 2020 17:52:37 +0200 Subject: [PATCH] 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 d1894a8cc..91684cc52 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; }