Skip to content

Commit

Permalink
WindowClone: Fix memory leak in window spread
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter authored and tintou committed Jul 10, 2024
1 parent c9dbf9c commit 2d3fdbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Widgets/WindowClone.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2d3fdbe

Please sign in to comment.