+static void
+chat_window_drag_motion (GtkWidget *widget,
+ GdkDragContext *context,
+ int x,
+ int y,
+ guint time,
+ EmpathyChatWindow *window)
+{
+ static GtkTargetList *list = NULL;
+ GdkAtom target;
+
+ if (list == NULL) {
+ list = gtk_target_list_new (drag_types_dest_noft,
+ G_N_ELEMENTS (drag_types_dest_noft));
+ }
+
+ target = gtk_drag_dest_find_target (widget, context, list);
+ if (target == GDK_NONE) {
+ gdk_drag_status (context, GDK_ACTION_COPY, time);
+ }
+}
+