Commit e462a1ae authored by Theo Linkspfeifer's avatar Theo Linkspfeifer Committed by Andre Miranda

Fix drag data being received multiple times (Bug #14471)

parent 973df9fe
...@@ -1769,6 +1769,8 @@ xfdesktop_icon_view_drag_data_received(GtkWidget *widget, ...@@ -1769,6 +1769,8 @@ xfdesktop_icon_view_drag_data_received(GtkWidget *widget,
"--xfdesktop-icon-view-drop-icon"); "--xfdesktop-icon-view-drop-icon");
if(icon_view->priv->dropped) { if(icon_view->priv->dropped) {
icon_view->priv->dropped = FALSE;
xfdesktop_xy_to_rowcol(icon_view, x, y, &row, &col); xfdesktop_xy_to_rowcol(icon_view, x, y, &row, &col);
if(row >= icon_view->priv->nrows || col >= icon_view->priv->ncols) if(row >= icon_view->priv->nrows || col >= icon_view->priv->ncols)
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment