mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Connect to button-release-event as well, to handle touchscreen scenarios
2005-06-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdnd.c (gtk_drag_source_set): Connect to button-release-event as well, to handle touchscreen scenarios better. (#171490, Markku Vire)
This commit is contained in:
parent
b33e3c06c8
commit
d6ef11469b
@ -1,5 +1,9 @@
|
||||
2005-06-21 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_source_set): Connect to
|
||||
button-release-event as well, to handle touchscreen
|
||||
scenarios better. (#171490, Markku Vire)
|
||||
|
||||
* gtk/*.h: Trivial cleanups. (#169647, #303455,
|
||||
Fabricio Barros Cabral, Benoit Carpentier)
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-06-21 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_source_set): Connect to
|
||||
button-release-event as well, to handle touchscreen
|
||||
scenarios better. (#171490, Markku Vire)
|
||||
|
||||
* gtk/*.h: Trivial cleanups. (#169647, #303455,
|
||||
Fabricio Barros Cabral, Benoit Carpentier)
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-06-21 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_source_set): Connect to
|
||||
button-release-event as well, to handle touchscreen
|
||||
scenarios better. (#171490, Markku Vire)
|
||||
|
||||
* gtk/*.h: Trivial cleanups. (#169647, #303455,
|
||||
Fabricio Barros Cabral, Benoit Carpentier)
|
||||
|
||||
|
@ -2321,6 +2321,9 @@ gtk_drag_source_set (GtkWidget *widget,
|
||||
g_signal_connect (widget, "button_press_event",
|
||||
G_CALLBACK (gtk_drag_source_event_cb),
|
||||
site);
|
||||
g_signal_connect (widget, "button_release_event",
|
||||
G_CALLBACK (gtk_drag_source_event_cb),
|
||||
site);
|
||||
g_signal_connect (widget, "motion_notify_event",
|
||||
G_CALLBACK (gtk_drag_source_event_cb),
|
||||
site);
|
||||
@ -2356,9 +2359,6 @@ gtk_drag_source_unset (GtkWidget *widget)
|
||||
|
||||
if (site)
|
||||
{
|
||||
g_signal_handlers_disconnect_by_func (widget,
|
||||
gtk_drag_source_event_cb,
|
||||
site);
|
||||
g_signal_handlers_disconnect_by_func (widget,
|
||||
gtk_drag_source_event_cb,
|
||||
site);
|
||||
|
Loading…
Reference in New Issue
Block a user