From 9d5be1660d8f74038ebed3d74fdbc809e43787ae Mon Sep 17 00:00:00 2001 From: Nippy Date: Fri, 9 Oct 2026 17:23:53 +0200 Subject: gnome fix --- .../installed/blur-my-shell@aunetx/components/window_list.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/components/window_list.js') diff --git a/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/components/window_list.js b/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/components/window_list.js index 6ab0644..33a9be3 100644 --- a/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/components/window_list.js +++ b/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/components/window_list.js @@ -66,7 +66,7 @@ export const WindowListBlur = class WindowListBlur { this.connections.connect( actor, 'destroy', - _ => this.destroy_blur(pipeline, true) + _ => this.destroy_blur(pipeline) ); @@ -98,8 +98,8 @@ export const WindowListBlur = class WindowListBlur { } // IMPORTANT: do never call this in a mutable `this.pipelines.forEach` - destroy_blur(pipeline, actor_destroyed = false) { - if (!actor_destroyed) { + destroy_blur(pipeline) { + if (pipeline.actor) { this.remove_style(pipeline.actor); this.paint_signals.disconnect_all_for_actor(pipeline.actor); } @@ -108,7 +108,7 @@ export const WindowListBlur = class WindowListBlur { let index = this.pipelines.indexOf(pipeline); if (index >= 0) - this.pipelines.splice(pipeline, 1); + this.pipelines.splice(index, 1); } remove_style(actor) { -- cgit v1.3