Skip to content

Commit 62ce3a1

Browse files
authored
Update overview.js
1 parent a6d56d7 commit 62ce3a1

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/components/overview.js

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ var OverviewBlur = class OverviewBlur {
4040
_ => {
4141
if (GLib.getenv('XDG_SESSION_TYPE') == "wayland" &&
4242
Main.layoutManager.monitors.length > 1) {
43-
//this.repaint_blur_effects();
4443
this.toogle_actors_visibility();
4544
}
4645
}
@@ -212,17 +211,13 @@ var OverviewBlur = class OverviewBlur {
212211
break;
213212
}
214213
}
215-
216-
repaint_blur_effects() {
217-
this.effects.forEach(effect => {
218-
effect.blur_effect.queue_repaint();
219-
});
220-
}
221-
214+
222215
toogle_actors_visibility() {
223216
Main.layoutManager.overviewGroup.get_children().forEach(child => {
224-
child.hide();
225-
setTimeout(_ => child.show(), 10);
217+
if (child.constructor.name === 'Meta_BackgroundActor') {
218+
child.hide();
219+
setTimeout(_ => child.show(), 10);
220+
}
226221
});
227222
}
228223

0 commit comments

Comments
 (0)