From 8f1b8909dcbf1237aef81c702cdd9f81e8b00441 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Sat, 15 Feb 2014 13:05:46 +0100 Subject: [PATCH] Fix position/size changed disconnects Commit 3f7a989d38e changed the signals to match mutter api changes, but did not update disconnects, so do that. --- js/ui/workspace.js | 2 +- js/ui/workspaceThumbnail.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 1d319e8ad..a4b0c2599 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -295,7 +295,7 @@ const WindowClone = new Lang.Class({ else realWindow = child.source; - realWindow.disconnect(child._updateId); + realWindow.meta_window.disconnect(child._updateId); realWindow.disconnect(child._destroyId); })); }, diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index 3e71e9c65..7b7bc908e 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -176,7 +176,7 @@ const WindowClone = new Lang.Class({ this.actor.get_children().forEach(function(child) { let realWindow = child.source; - realWindow.disconnect(child._updateId); + realWindow.meta_window.disconnect(child._updateId); realWindow.disconnect(child._destroyId); }); },