configure.ac: Depend on cairo 1.14.0

This is needed for cairo_set_device_scale()
This commit is contained in:
Javier Jardón
2014-10-25 20:23:16 +01:00
parent 36fedb0c4b
commit 710f332082
17 changed files with 7 additions and 75 deletions

View File

@ -308,13 +308,9 @@ _gdk_wayland_display_get_cursor_for_surface (GdkDisplay *display,
if (surface)
{
#ifdef HAVE_CAIRO_SURFACE_SET_DEVICE_SCALE
{
double sx, sy;
cairo_surface_get_device_scale (surface, &sx, &sy);
cursor->surface.scale = (int)sx;
}
#endif
double sx, sy;
cairo_surface_get_device_scale (surface, &sx, &sy);
cursor->surface.scale = (int)sx;
cursor->surface.width = cairo_image_surface_get_width (surface);
cursor->surface.height = cairo_image_surface_get_height (surface);
}