forked from AuroraMiddleware/gtk
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:
parent
0b98adf31a
commit
b44689fece
@ -1,5 +1,8 @@
|
||||
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)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user