diff options
author | Jasmine Hassan <[email protected]> | 2012-11-08 02:53:55 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-16 09:45:52 +0200 |
commit | 07bbb722c57b1f985a8750db9776099f1fadf7f6 (patch) | |
tree | a9b7b2ac50fcf0c566c1eccdea91607c79daa654 /libcaja-private/caja-icon-dnd.c | |
parent | b6b774806a7198d46edd701054cc73989dc3e200 (diff) | |
download | caja-07bbb722c57b1f985a8750db9776099f1fadf7f6.tar.bz2 caja-07bbb722c57b1f985a8750db9776099f1fadf7f6.tar.xz |
[icon-dnd] use negative device offsets to set the drag surface
http://git.gnome.org/browse/nautilus/commit/?id=f38bad2536faf497fe56c9a491ab852cb00514c0
Diffstat (limited to 'libcaja-private/caja-icon-dnd.c')
-rw-r--r-- | libcaja-private/caja-icon-dnd.c | 2 |
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 |