[Xfce4-commits] [xfce/xfdesktop] 01/01: Fix drag data being received multiple times (Bug #14471)

2019-06-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

andre pushed a 
commit to branch 
xfce-4.12
in repository xfce/xfdesktop.

commit e462a1aee91fccb77afa354dc1e69442569f21cf
Author: Theo Linkspfeifer 
Date:   Tue Jun 18 23:11:44 2019 +0200

Fix drag data being received multiple times (Bug #14471)
---
 src/xfdesktop-icon-view.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index e6dbc4b..7c39c46 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1769,6 +1769,8 @@ xfdesktop_icon_view_drag_data_received(GtkWidget *widget,
  "--xfdesktop-icon-view-drop-icon");
 
 if(icon_view->priv->dropped) {
+icon_view->priv->dropped = FALSE;
+
 xfdesktop_xy_to_rowcol(icon_view, x, y, , );
 if(row >= icon_view->priv->nrows || col >= icon_view->priv->ncols)
 return;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 01/01: Fix drag data being received multiple times (Bug #14471)

2019-06-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

andre pushed a 
commit to branch 
master
in repository xfce/xfdesktop.

commit 77ceeadaa5c5a2dfabc795af3c7d08237812b0a7
Author: Theo Linkspfeifer 
Date:   Tue Jun 18 23:11:44 2019 +0200

Fix drag data being received multiple times (Bug #14471)
---
 src/xfdesktop-icon-view.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index e94ec27..60cfea7 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1812,6 +1812,8 @@ xfdesktop_icon_view_drag_data_received(GtkWidget *widget,
  "--xfdesktop-icon-view-drop-icon");
 
 if(icon_view->priv->dropped) {
+icon_view->priv->dropped = FALSE;
+
 xfdesktop_xy_to_rowcol(icon_view, x, y, , );
 if(row >= icon_view->priv->nrows || col >= icon_view->priv->ncols)
 return;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits