Sebastian Keller 5062c4c9c2 st/texture-cache: Ensure icons keep their aspect ratio when scaled down
Window preview icons can get scaled down if the window they belong to is
very small and/or there are a lot of open windows. When scaled down this
way the icons would get scaled without keeping the aspect ratio. Fix
this by using a content gravity that keeps the aspect ratio.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3865

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1751>
2021-03-14 01:06:30 +00:00
..
2020-10-19 20:18:11 +02:00
2020-10-19 20:18:11 +02:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2021-02-23 18:24:35 +01:00
2019-08-27 15:30:51 +03:00
2020-10-19 20:18:11 +02:00
2020-10-19 20:18:11 +02:00
2020-05-20 15:12:03 +02:00
2020-10-19 20:18:11 +02:00
2017-08-02 11:27:42 +01:00
2015-10-15 22:58:28 +02:00