summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkdnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 052c671b75..2794f94e5c 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -864,7 +864,7 @@ gtk_drag_dest_handle_event (GtkWidget *toplevel,
if (event->type == GDK_DROP_START)
info->dropped = TRUE;
- gdk_window_get_position (toplevel->window, &tx, &ty);
+ gdk_window_get_origin (toplevel->window, &tx, &ty);
data.x = event->dnd.x_root - tx;
data.y = event->dnd.y_root - ty;