summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcaja-private/caja-icon-dnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaja-private/caja-icon-dnd.c b/libcaja-private/caja-icon-dnd.c
index 67e0dd32..308715fa 100644
--- a/libcaja-private/caja-icon-dnd.c
+++ b/libcaja-private/caja-icon-dnd.c
@@ -1554,7 +1554,7 @@ drag_begin_callback (GtkWidget *widget,
y_offset = start_y - winy;
#if GTK_CHECK_VERSION(3,0,0)
- cairo_surface_set_device_offset (surface, x_offset, y_offset);
+ cairo_surface_set_device_offset (surface, -x_offset, -y_offset);
gtk_drag_set_icon_surface (context, surface);
cairo_surface_destroy (surface);
#else