From 7dbdf2aa079d3555b40d363b0451f77dc79097b0 Mon Sep 17 00:00:00 2001 From: Stefano Facchini Date: Thu, 22 Mar 2012 18:48:50 +0100 Subject: [PATCH] workspaceThumbnail: set correct cursor when hovering the drop placeholder Namely, use the the 'copy' cursor for app launchers and the 'move' cursor for windows. https://bugzilla.gnome.org/show_bug.cgi?id=672641 --- js/ui/workspaceThumbnail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index 05e239c70..4708a88d0 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -667,7 +667,7 @@ const ThumbnailsBox = new Lang.Class({ if (this._dropWorkspace != -1) return this._thumbnails[this._dropWorkspace].handleDragOverInternal(source, time); else if (this._dropPlaceholderPos != -1) - return DND.DragMotionResult.MOVE_DROP; + return source.realWindow ? DND.DragMotionResult.MOVE_DROP : DND.DragMotionResult.COPY_DROP; else return DND.DragMotionResult.CONTINUE; },