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)
This commit is contained in:
Matthias Clasen 2006-05-18 19:26:02 +00:00 committed by Matthias Clasen
parent 0b98adf31a
commit b44689fece
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-05-18 Matthias Clasen <mclasen@redhat.com> 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): * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
Always set protocol. (#342003, Tommi Komulainen) Always set protocol. (#342003, Tommi Komulainen)

View File

@ -1,5 +1,8 @@
2006-05-18 Matthias Clasen <mclasen@redhat.com> 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): * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
Always set protocol. (#342003, Tommi Komulainen) Always set protocol. (#342003, Tommi Komulainen)

View File

@ -3014,7 +3014,7 @@ gtk_calendar_drag_motion (GtkWidget *widget,
} }
target = gtk_drag_dest_find_target (widget, context, NULL); 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); gdk_drag_status (context, 0, time);
else else
{ {