[Xfce4-commits] [xfce/xfdesktop] 01/01: Fix yet another rubber band DnD issue (Bug #16046)

noreply at xfce.org noreply at xfce.org
Thu Oct 17 04:31:34 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       x   f   c   e   -   4   .   1   4   
   in repository xfce/xfdesktop.

commit 55cc18b6c006ba46d7a728ee147d742e1442bac6
Author: Theo Linkspfeifer <lastonestanding at tutanota.com>
Date:   Tue Oct 15 19:55:19 2019 +0200

    Fix yet another rubber band DnD issue (Bug #16046)
---
 src/xfdesktop-icon-view.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index ab185e4..6e2566b 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1229,8 +1229,10 @@ xfdesktop_icon_view_motion_notify(GtkWidget *widget,
         /* we might have the start of an icon click + drag here */
         icon_view->priv->definitely_dragging = xfdesktop_icon_view_maybe_begin_drag(icon_view,
                                                                                     evt);
-        if(icon_view->priv->definitely_dragging)
+        if(icon_view->priv->definitely_dragging) {
+            icon_view->priv->maybe_begin_drag = FALSE;
             ret = TRUE;
+        }
     } else if(icon_view->priv->maybe_begin_drag
               && ((!icon_view->priv->item_under_pointer
                    && !icon_view->priv->definitely_rubber_banding)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list