Commit 3bba8439 authored by Committed by Owen TaylorBrowse files
Make MOD1-drag also do action ask.
Thu Jan 14 11:29:53 1999 Owen Taylor <firstname.lastname@example.org> * 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.)
Showing with 4 additions and 1 deletion