wayland-surface: Only spew about set_buffer_scale if it's not 1

... to stop the GTK+ spam on my system.
This commit is contained in:
Jasper St. Pierre 2013-11-19 13:00:34 -05:00
parent f0280a8868
commit 9461c612de

View File

@ -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 = {