blur-effect: Don't paint background using actor opacity

The background should always be painted fully opaque, the opacity of the
actor does not change the one of the background.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991
This commit is contained in:
Jonas Dreßler 2020-02-07 10:10:58 +01:00 committed by Georges Basile Stavracas Neto
parent 46f94241eb
commit f6fa08fa75

View File

@ -657,16 +657,8 @@ paint_background (ShellBlurEffect *self,
CoglFramebuffer *framebuffer;
float transformed_x = 0.f;
float transformed_y = 0.f;
guint8 paint_opacity;
framebuffer = clutter_paint_context_get_framebuffer (paint_context);
paint_opacity = clutter_actor_get_paint_opacity (self->actor);
cogl_pipeline_set_color4ub (self->background_fb.pipeline,
paint_opacity,
paint_opacity,
paint_opacity,
paint_opacity);
clutter_actor_get_transformed_position (self->actor,
&transformed_x,