gdk: Ensure surface buffer scale is set
authorSjoerd Simons <sjoerd@luon.net>
Mon, 7 Nov 2016 21:52:45 +0000 (22:52 +0100)
committerRaspbian forward porter <root@raspbian.org>
Sun, 4 Dec 2016 06:26:42 +0000 (06:26 +0000)
commit66b048f76a298d3065114444cbd332413a177372
treea0be76c7b67931e158552f99f7b6093a282b3914
parentf372df493c6524bc988004ca868653be7adb2647
gdk: Ensure surface buffer scale is set

GDK will only set the buffer scale for the surfaces it creates when
attaching an image or when using an egl window window. Neither will
happen for native clutter applications, thus directly set the buffer
scale from clutter in that case (so it's in sync with the rendering
scale)

Signed-off-by: Sjoerd Simons <sjoerd@luon.net>
https://bugzilla.gnome.org/show_bug.cgi?id=769190

Gbp-Pq: Name gdk-Ensure-surface-buffer-scale-is-set.patch
clutter/gdk/clutter-stage-gdk.c