In order to make the change build-able on Trusty, we need to add new
interface into cairo.vapi:
--- vala-0.22-0.22.1.orig/vapi/cairo.vapi
+++ vala-0.22-0.22.1/vapi/cairo.vapi
@@ -645,6 +645,8 @@ namespace Cairo {
public void mark_dirty_rectangle (int x, int y, int width, int
height);
public void set_device_offset (double x_offset, double
y_offset);
public void get_device_offset (out double x_offset, out double
y_offset);
+ public void set_device_scale (double x_scale, double y_scale);
+ public void get_device_scale (out double x_scale, out double
y_scale);
public void set_fallback_resolution (double x_pixels_per_inch,
double y_pixels_per_inch);
public void show_page ();
public Status status ();
Those two functions are indeed in Trusty's cairo, so I think it's safe
to expose these interface for Vala.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557893
Title:
The transition wallpaper does not have right scale on HiDPI monitor.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1557893/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs