DnD through in-proc plug/sockets



I have a problem with dnd in nautilus. It seems that drag_motion in the
icon and list views are called with the wrong coordinates. Tracing
through the recursive calls in gtk_drag_find_widget() it seems
everything goes wrong in the BonoboPlug (which is a GtkPlug
essentially). The coordinates returned from gdk_window_get_position for
it seems to be the absolute position of the plug.

I don't know what the right thing to do here is? Why is it returning the
absolute position? Why did this work before? Should we just check for
!GTK_IS_PLUG in addition to !GTK_WIDGET_NO_WINDOW in
gtk_drag_find_widget? 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a lounge-singing voodoo assassin with no name. She's a violent impetuous 
snake charmer with the power to bend men's minds. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]