summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/file-manager/fm-list-view.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index 7e7f3260..a6efe72d 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -581,12 +581,13 @@ motion_notify_callback (GtkWidget *widget,
event->x,
event->y))
{
- gtk_drag_begin
- (widget,
- source_target_list,
- GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_LINK | GDK_ACTION_ASK,
- view->details->drag_button,
- (GdkEvent*)event);
+ gtk_drag_begin_with_coordinates (widget,
+ source_target_list,
+ GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_LINK | GDK_ACTION_ASK,
+ view->details->drag_button,
+ (GdkEvent*)event,
+ event->x,
+ event->y);
}
return TRUE;
}