Commit b44689fe authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Don't produce a stuck drag if shift is held. (#341734, Sebastien Bacher)

2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_drag_motion): Don't produce
	a stuck drag if shift is held.  (#341734, Sebastien Bacher)
parent 0b98adf3
2006-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_drag_motion): Don't produce
a stuck drag if shift is held. (#341734, Sebastien Bacher)
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
Always set protocol. (#342003, Tommi Komulainen)
......
2006-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_drag_motion): Don't produce
a stuck drag if shift is held. (#341734, Sebastien Bacher)
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
Always set protocol. (#342003, Tommi Komulainen)
......
......@@ -3014,7 +3014,7 @@ gtk_calendar_drag_motion (GtkWidget *widget,
}
target = gtk_drag_dest_find_target (widget, context, NULL);
if (target == GDK_NONE)
if (target == GDK_NONE || context->suggested_action == 0)
gdk_drag_status (context, 0, time);
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment