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:
parent
46f94241eb
commit
f6fa08fa75
@ -657,16 +657,8 @@ paint_background (ShellBlurEffect *self,
|
|||||||
CoglFramebuffer *framebuffer;
|
CoglFramebuffer *framebuffer;
|
||||||
float transformed_x = 0.f;
|
float transformed_x = 0.f;
|
||||||
float transformed_y = 0.f;
|
float transformed_y = 0.f;
|
||||||
guint8 paint_opacity;
|
|
||||||
|
|
||||||
framebuffer = clutter_paint_context_get_framebuffer (paint_context);
|
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,
|
clutter_actor_get_transformed_position (self->actor,
|
||||||
&transformed_x,
|
&transformed_x,
|
||||||
|
Loading…
Reference in New Issue
Block a user