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
This commit is contained in:
parent
c933731ead
commit
7dbdf2aa07
@ -667,7 +667,7 @@ const ThumbnailsBox = new Lang.Class({
|
|||||||
if (this._dropWorkspace != -1)
|
if (this._dropWorkspace != -1)
|
||||||
return this._thumbnails[this._dropWorkspace].handleDragOverInternal(source, time);
|
return this._thumbnails[this._dropWorkspace].handleDragOverInternal(source, time);
|
||||||
else if (this._dropPlaceholderPos != -1)
|
else if (this._dropPlaceholderPos != -1)
|
||||||
return DND.DragMotionResult.MOVE_DROP;
|
return source.realWindow ? DND.DragMotionResult.MOVE_DROP : DND.DragMotionResult.COPY_DROP;
|
||||||
else
|
else
|
||||||
return DND.DragMotionResult.CONTINUE;
|
return DND.DragMotionResult.CONTINUE;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user