File tree 1 file changed +5
-10
lines changed
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ var OverviewBlur = class OverviewBlur {
40
40
_ => {
41
41
if ( GLib . getenv ( 'XDG_SESSION_TYPE' ) == "wayland" &&
42
42
Main . layoutManager . monitors . length > 1 ) {
43
- //this.repaint_blur_effects();
44
43
this . toogle_actors_visibility ( ) ;
45
44
}
46
45
}
@@ -212,17 +211,13 @@ var OverviewBlur = class OverviewBlur {
212
211
break ;
213
212
}
214
213
}
215
-
216
- repaint_blur_effects ( ) {
217
- this . effects . forEach ( effect => {
218
- effect . blur_effect . queue_repaint ( ) ;
219
- } ) ;
220
- }
221
-
214
+
222
215
toogle_actors_visibility ( ) {
223
216
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
+ }
226
221
} ) ;
227
222
}
228
223
You can’t perform that action at this time.
0 commit comments