• Owen Taylor's avatar
    Make MOD1-drag also do action ask. · 3bba8439
    Owen Taylor authored
    Thu Jan 14 11:29:53 1999  Owen Taylor  <otaylor@redhat.com>
    
    	* gtk/gtkdnd.c (gtk_drag_get_event_action): Make
    	MOD1-drag also do action ask.
    
    	* gtk/gtkdnd.c (gtk_drag_button_release_cb): Send the
    	button-release event we simulate to get grabs released,
    	with a window of GDK_ROOT_PARENT instead of the actual
    	widget. This is a bad hack in some sense, but seems
    	to work nicely. (It's sort of like what you would
    	if you grabbed on button press, then the user
    	released outside of the widget.)
    3bba8439
gtkdnd.c 66.6 KB