diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js index f3d463a94..ffe9fa482 100644 --- a/js/ui/searchDisplay.js +++ b/js/ui/searchDisplay.js @@ -77,11 +77,12 @@ SearchResult.prototype = { }, getDragActorSource: function() { - return this.metaInfo['icon']; + // not exactly right, but alignment problems are hard to notice + return this._content; }, getDragActor: function(stageX, stageY) { - return new Clutter.Clone({ source: this.metaInfo['icon'] }); + return this.metaInfo['createIcon'](Main.overview.dash.iconSize); }, shellWorkspaceLaunch: function(params) {