WindowClone: Fix memory leak in window spread

This commit is contained in:
lenemter 2024-07-10 19:17:06 +09:00 committed by Corentin Noël
parent c9dbf9c0ce
commit 2d3fdbe968

View File

@ -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);