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
..
2019-07-31 17:35:03 +00:00
2015-10-15 22:02:35 +02:00
2015-10-15 22:02:35 +02:00
2015-10-15 22:02:35 +02:00
2015-10-15 22:02:35 +02:00
2019-07-31 17:35:03 +00:00
2015-10-15 22:02:35 +02:00
2015-10-15 22:02:35 +02:00
2019-07-31 17:35:03 +00:00
2015-10-15 22:02:35 +02:00
2019-07-31 17:35:03 +00:00
2015-10-15 22:02:35 +02:00
2019-07-31 17:35:03 +00:00
2015-10-15 22:02:35 +02:00
2019-06-20 16:30:40 +02:00
2015-10-15 22:02:35 +02:00
2013-09-18 20:01:49 +02:00
2015-10-15 22:02:35 +02:00
2019-01-30 22:50:01 +01:00
2015-10-15 22:02:35 +02:00
2019-04-08 18:17:46 +02:00
2019-03-04 22:29:33 +00:00
2015-10-15 22:02:35 +02:00
2015-10-15 22:02:35 +02:00
2012-08-29 16:41:09 -03:00
2017-07-20 00:20:54 +02:00
2019-08-27 15:30:51 +03:00