theme, frames: Use surface device scale instead of cairo_scale
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 30 Mar 2018 18:57:50 +0000 (12:57 -0600)
committerJeremy Bicha <jbicha@debian.org>
Tue, 17 Apr 2018 02:35:14 +0000 (03:35 +0100)
commit86dd520909588bb1c4dc8e860151d523b510761a
treee8d6e9ac2d09c19d1bca21128921d8ddd5e3929c
parentf79a148d978f792848f4e85b143bf94edc09e5ec
theme, frames: Use surface device scale instead of cairo_scale

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1764554
Bug-GNOME: https://gitlab.gnome.org/GNOME/mutter/issues/99
Forwarded: yes, https://gitlab.gnome.org/GNOME/mutter/merge_requests/61

Gtk now is caching the themed cairo surfaces, then as per
commit gtk@e36b629c the surface device scale is used to figure
out the current paint scaling.

Without this when using background-image's for window buttons
the -gtk-scaled icons isn't properly resized.

Fixes #99

Gbp-Pq: Name theme-frames-Use-surface-device-scale-instead-of-cairo_sc.patch
src/ui/frames.c
src/ui/theme.c