From 07bbb722c57b1f985a8750db9776099f1fadf7f6 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Thu, 8 Nov 2012 02:53:55 +0200 Subject: [icon-dnd] use negative device offsets to set the drag surface http://git.gnome.org/browse/nautilus/commit/?id=f38bad2536faf497fe56c9a491ab852cb00514c0 --- libcaja-private/caja-icon-dnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcaja-private') 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 -- cgit v1.2.1