gdk: Ensure surface buffer scale is set
authorSjoerd Simons <sjoerd@luon.net>
Mon, 7 Nov 2016 21:52:45 +0000 (22:52 +0100)
committerJeremy Bicha <jbicha@debian.org>
Mon, 8 Oct 2018 07:59:44 +0000 (08:59 +0100)
commita34b1a2b9bc9e969e29dd2ce63bc807b1954ecec
treef56c56744de99ec3d59130908001fdcdfb391200
parent8a8732bd5b4051aae4a4a7e2b9bcb2913c2a50ea
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