From 20d32a85511e86bd577e87a18698c84130edd913 Mon Sep 17 00:00:00 2001 From: lenemter Date: Wed, 10 Jul 2024 19:17:06 +0900 Subject: [PATCH] WindowClone: Fix memory leak in window spread --- src/Widgets/WindowClone.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Widgets/WindowClone.vala b/src/Widgets/WindowClone.vala index 6bf10e747..998f95d30 100644 --- a/src/Widgets/WindowClone.vala +++ b/src/Widgets/WindowClone.vala @@ -116,8 +116,8 @@ public class Gala.WindowClone : Clutter.Actor { if (overview_mode) { var click_action = new Clutter.ClickAction (); - click_action.clicked.connect (() => { - actor_clicked (click_action.get_button ()); + click_action.clicked.connect ((action, actor) => { + actor_clicked (action.get_button ()); }); add_action (click_action);