diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 522c251c2..e010e8dd1 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -204,6 +204,11 @@ WindowClone.prototype = { if (this._zoomLightbox) this._zoomLightbox.destroy(); + if (this._inDrag) { + this.emit('drag-end'); + this._inDrag = false; + } + this.disconnectAll(); },