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>
Tue, 19 Dec 2017 03:20:53 +0000 (03:20 +0000)
commit6bf3b3dd692f7530d805c44593419dd5f8787626
tree6012b5899cc1276a6d1fa5d9aa3e70a03b13ea22
parentc8ff265bdaa9c779ed4e07e375dde2e100b57e44
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