Daniel García Moreno cf00231aa8 st: Fix box-shadow drawing with prerendered_texture
The use of box-shadow on a StWidget that has a background-gradient was
not been rendered correctly, the shadow borders was calculated inside
the st_theme_node_prerender_shadow function and in the case that we've a
prerendered_texture the max_borders was not calculated and are 0.

This patch creates a new static function to compute shadow maximum
borders copying the code from st_theme_node_prerender_shadow, and call
this new method in the case that we've a prerendered_texture.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1186
2019-09-18 16:09:36 +00: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
2019-08-27 17:42:32 +00:00
2019-08-27 15:30:51 +03:00
2019-02-06 18:29:15 +01:00
2018-01-12 11:48:49 +01:00
2018-01-12 11:48:49 +01:00
2019-01-30 22:50:01 +01:00
2019-09-10 17:51:02 +00:00
2017-08-02 11:27:42 +01:00
2015-10-15 22:58:28 +02:00