[Xfce4-commits] [xfce/xfdesktop] 18/34: Fix the rubber band when moving icons
noreply at xfce.org
noreply at xfce.org
Sun Apr 16 07:06:52 CEST 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfdesktop.
commit c58e002bd74bc39063a8cfcdd1afe0db95ea771b
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Fri Mar 3 08:59:06 2017 +0300
Fix the rubber band when moving icons
---
src/xfdesktop-icon-view.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 36b7aa7..59b7f11 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1627,6 +1627,11 @@ xfdesktop_icon_view_drag_drop(GtkWidget *widget,
TRACE("entering: (%d,%d)", x, y);
+ DBG("unsetting stuff");
+ icon_view->priv->control_click = FALSE;
+ icon_view->priv->double_click = FALSE;
+ icon_view->priv->maybe_begin_drag = FALSE;
+ icon_view->priv->definitely_dragging = FALSE;
icon_view->priv->dropped = TRUE;
target = gtk_drag_dest_find_target(widget, context,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list