diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-09-30 18:47:31 +0200 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-09-30 18:49:04 +0200 |
commit | f38bad2536faf497fe56c9a491ab852cb00514c0 (patch) | |
tree | 5f55aab4add09ac51fa349deb8fbd7b504f07b68 | |
parent | a136af0a01c160cdfb513c531b910b49a4a62973 (diff) | |
download | nautilus-f38bad2536faf497fe56c9a491ab852cb00514c0.tar.gz |
icon-dnd: use negative device offsets to set the drag surface
-rw-r--r-- | libnautilus-private/nautilus-icon-dnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-icon-dnd.c b/libnautilus-private/nautilus-icon-dnd.c index b2dfc41f2..0a743f198 100644 --- a/libnautilus-private/nautilus-icon-dnd.c +++ b/libnautilus-private/nautilus-icon-dnd.c @@ -1306,7 +1306,7 @@ drag_begin_callback (GtkWidget *widget, x_offset = start_x - winx; y_offset = start_y - winy; - 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); |