force preview shut when dragging file over icon

This commit is contained in:
jderose9
2017-03-14 17:58:36 -04:00
parent 7bba9a4bbb
commit a3680f81a1

View File

@@ -718,6 +718,14 @@ const taskbarAppIcon = new Lang.Class({
this._numberOverlayBin.show();
else
this._numberOverlayBin.hide();
},
handleDragOver: function(source, actor, x, y, time) {
if (source == Main.xdndHandler) {
this.windowPreview.close();
}
return DND.DragMotionResult.CONTINUE;
}
});