From ec1b0990174be6e5a5859cde272ddda6931a62e3 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Thu, 17 Dec 2020 02:05:03 -0300 Subject: [PATCH] st: Fix painting unblurred texture ClutterActorBox encapsulates (x1, y1, x2, y2), but the second pair of values to the texture node are width and height, leading to incorrectly rendering the unblurred texture. Fix that by properly making these values be x2 and y2. Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3497 Part-of: --- src/st/st-private.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/st/st-private.c b/src/st/st-private.c index 8387bbc8d..4d8952f5e 100644 --- a/src/st/st-private.c +++ b/src/st/st-private.c @@ -443,7 +443,8 @@ _st_create_shadow_pipeline (StShadow *shadow_spec, clutter_paint_node_add_rectangle (texture_node, &(ClutterActorBox) { half, half, - src_width, src_height, + src_width + half, + src_height + half, }); paint_context =