Skip to content

Commit c6efb61

Browse files
committed
BackgroundBlurEffect: fix blur with multimonitor configurations on mutter49
1 parent 04c0219 commit c6efb61

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/BackgroundBlurEffect.vala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ public class Gala.BackgroundBlurEffect : Clutter.Effect {
171171
box_scale_factor = stage_view.get_scale ();
172172
last_box_scale_factor = box_scale_factor;
173173

174-
#if HAS_MUTTER49
175-
stage_view.get_layout (stage_view_layout);
174+
stage_view.get_layout (ref stage_view_layout);
176175

177176
origin_x -= stage_view_layout.x;
178177
origin_y -= stage_view_layout.y;

vapi/mutter-clutter.vapi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7474,11 +7474,7 @@ namespace Clutter {
74747474
#endif
74757475
public virtual Clutter.PaintFlag get_default_paint_flags ();
74767476
public unowned Cogl.Framebuffer get_framebuffer ();
7477-
#if HAS_MUTTER49
7478-
public void get_layout (Mtk.Rectangle rect);
7479-
#else
74807477
public void get_layout (ref Mtk.Rectangle rect);
7481-
#endif
74827478
#if HAS_MUTTER47
74837479
public void get_offscreen_transformation_matrix (Graphene.Matrix matrix);
74847480
#else

0 commit comments

Comments
 (0)