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 Desktop
Packages, which is subscribed to unity-greeter in Ubuntu.
https://bugs.launchpad.net/bugs/1557893

Title:
  The transition wallpaper does not have right scale on HiDPI monitor.

Status in unity-greeter package in Ubuntu:
  Fix Released
Status in unity-greeter source package in Trusty:
  Triaged

Bug description:
  Ubuntu Release: 16.04
  Package Version: 16.04.0-0ubuntu1

  What you expected to happen:
      The wallpaper scales to whole HiDPI monitor.

   What happened instead:
      The wallpaper only shows on upper left corner.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1557893/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to