gdk: Ensure surface buffer scale is set
authorSjoerd Simons <sjoerd@luon.net>
Mon, 7 Nov 2016 21:52:45 +0000 (22:52 +0100)
committerSjoerd Simons <sjoerd@debian.org>
Fri, 18 Nov 2016 21:23:04 +0000 (21:23 +0000)
commitc817ef66102946d6428d023c395afc846e20e847
treed8bb28cb04887684bcc25e7852cc633d62fa031a
parent90f97b1436b5063851db9b0e61f5261ad81f25a2
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