[mutter/wayland] wayland-surface: Only spew about set_buffer_scale if it's not 1
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] wayland-surface: Only spew about set_buffer_scale if it's not 1
- Date: Tue, 19 Nov 2013 18:11:05 +0000 (UTC)
commit 9461c612dea0c1f1328947f99f31998ba28872e8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Nov 19 13:00:34 2013 -0500
wayland-surface: Only spew about set_buffer_scale if it's not 1
... to stop the GTK+ spam on my system.
src/wayland/meta-wayland-surface.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 0bfd7b1..1df8981 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -400,7 +400,8 @@ meta_wayland_surface_set_buffer_scale (struct wl_client *client,
struct wl_resource *resource,
int scale)
{
- g_warning ("TODO: support set_buffer_scale request");
+ if (scale != 1)
+ g_warning ("TODO: support set_buffer_scale request");
}
const struct wl_surface_interface meta_wayland_surface_interface = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]