[gnome-shell] workspaceThumbnail: set correct cursor when hovering the drop placeholder
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] workspaceThumbnail: set correct cursor when hovering the drop placeholder
- Date: Fri, 30 Mar 2012 15:46:15 +0000 (UTC)
commit 7dbdf2aa079d3555b40d363b0451f77dc79097b0
Author: Stefano Facchini <stefano facchini gmail com>
Date: Thu Mar 22 18:48:50 2012 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js
index 05e239c..4708a88 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;
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]