summaryrefslogtreecommitdiff
path: root/raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/components/window_list.js
diff options
context:
space:
mode:
authorNippy <nippy@Nippy-Mac-mini.local>2026-10-09 17:23:53 +0200
committerNippy <nippy@Nippy-Mac-mini.local>2026-10-09 17:23:53 +0200
commit9d5be1660d8f74038ebed3d74fdbc809e43787ae (patch)
tree4cb46c3765be87ca4c5219f2f714425d7dfddb56 /raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/components/window_list.js
parentdeb4b8a9c407832c35100a643bd7a592589c9679 (diff)
downloadRaveOS-PKGBUILD-9d5be1660d8f74038ebed3d74fdbc809e43787ae.tar.gz
RaveOS-PKGBUILD-9d5be1660d8f74038ebed3d74fdbc809e43787ae.zip
gnome fix
Diffstat (limited to 'raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/components/window_list.js')
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/blur-my-shell@aunetx/components/window_list.js8
1 files changed, 4 insertions, 4 deletions
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) {