[Xfce4-commits] [xfce/xfdesktop] 11/34: gtk_drag_begin -> gtk_drag_begin_with_coordinates
noreply at xfce.org
noreply at xfce.org
Sun Apr 16 07:06:45 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 54565d98fcb899401d2d9a46e784e8861b87a973
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Wed Mar 1 09:38:25 2017 +0300
gtk_drag_begin -> gtk_drag_begin_with_coordinates
---
src/xfdesktop-icon-view.c | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 8c6a454..3580bed 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1185,13 +1185,21 @@ xfdesktop_icon_view_maybe_begin_drag(XfdesktopIconView *icon_view,
icon_view->priv->foreign_source_actions : 0);
if(!(evt->state & GDK_BUTTON3_MASK)) {
- gtk_drag_begin(GTK_WIDGET(icon_view),
- icon_view->priv->source_targets,
- actions, 1, (GdkEvent *)evt);
+ gtk_drag_begin_with_coordinates(GTK_WIDGET(icon_view),
+ icon_view->priv->source_targets,
+ actions,
+ 1,
+ (GdkEvent *)evt,
+ -1,
+ -1);
} else {
- gtk_drag_begin(GTK_WIDGET(icon_view),
- icon_view->priv->source_targets,
- actions | GDK_ACTION_ASK, 3, (GdkEvent *)evt);
+ gtk_drag_begin_with_coordinates(GTK_WIDGET(icon_view),
+ icon_view->priv->source_targets,
+ actions | GDK_ACTION_ASK,
+ 3,
+ (GdkEvent *)evt,
+ -1,
+ -1);
}
DBG("DRAG BEGIN!");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list