Commit 5578b919 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Reset pressed_button to -1 after handling a double click, so that motion

2005-12-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_button_press): Reset
	pressed_button to -1 after handling a double click, so that
	motion events occurring between here and the release event
	don't trigger DND.  (#324588, Dave Andreoli)
parent 960b82eb
2005-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_button_press): Reset
pressed_button to -1 after handling a double click, so that
motion events occurring between here and the release event
don't trigger DND. (#324588, Dave Andreoli)
2005-12-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderer.c:
......
2005-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_button_press): Reset
pressed_button to -1 after handling a double click, so that
motion events occurring between here and the release event
don't trigger DND. (#324588, Dave Andreoli)
2005-12-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderer.c:
......
......@@ -1968,6 +1968,7 @@ gtk_icon_view_button_press (GtkWidget *widget,
}
icon_view->priv->last_single_clicked = NULL;
icon_view->priv->pressed_button = -1;
}
if (dirty)
......
Supports Markdown
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