diff options
Diffstat (limited to 'cut-n-paste')
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-editable-toolbar.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c index aa66cf3..5648735 100644 --- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c @@ -291,7 +291,13 @@ move_item_cb (GtkAction *action, gdk_event_get_coords (realevent, &event.x, &event.y); gdk_event_get_root_coords (realevent, &event.x_root, &event.y_root); - gtk_drag_begin (toolitem, list, GDK_ACTION_MOVE, 1, (GdkEvent *)&event); + gtk_drag_begin_with_coordinates (toolitem, + list, + GDK_ACTION_MOVE, + 1, + (GdkEvent *)&event, + event.x, + event.y); gtk_target_list_unref (list); } |