Skip to content

Commit 59c2f98

Browse files
garaevdidanirabbit
authored andcommitted
BackgroundBlurEffect: fix an oopsie
1 parent 05b2e5d commit 59c2f98

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/BackgroundBlurEffect.vala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,11 @@ public class Gala.BackgroundBlurEffect : Clutter.Effect {
168168
Mtk.Rectangle stage_view_layout = {};
169169

170170
box_scale_factor = stage_view.get_scale ();
171+
#if HAS_MUTTER49
171172
stage_view.get_layout (stage_view_layout);
173+
#else
174+
stage_view.get_layout (ref stage_view_layout);
175+
#endif
172176

173177
origin_x -= stage_view_layout.x;
174178
origin_y -= stage_view_layout.y;

0 commit comments

Comments
 (0)