diff options
author | Tim Janik <timj@imendio.com> | 2007-02-06 14:53:35 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2007-02-06 14:53:35 +0000 |
commit | caa4d15dabe7979dae7bebb19afa0c8b9f213f30 (patch) | |
tree | a58b7c24d1071a19982e47891497766c5caf49f7 /gtk/gtkspinbutton.c | |
parent | aef468ebbf59e6d6d59632a8cc8fc4a84a1501b1 (diff) | |
download | gtk+-caa4d15dabe7979dae7bebb19afa0c8b9f213f30.tar.gz |
call gdk_event_request_motions() for new motion events after receiving
Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
* gtk/gtktextview.c (gtk_text_view_motion_event):
* gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
* gtk/gtkaboutdialog.c (credits_motion_notify_event):
* gtk/gtkhruler.c (gtk_hruler_motion_notify):
* gtk/gtkvruler.c (gtk_vruler_motion_notify):
* gtk/gtkentry.c (gtk_entry_motion_notify):
* gtk/gtktooltip.c (_gtk_tooltip_handle_event):
* gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
for new motion events after receiving motion hints.
* gdk/gdkevents.[hc]: added gdk_event_request_motions().
svn path=/trunk/; revision=17269
Diffstat (limited to 'gtk/gtkspinbutton.c')
-rw-r--r-- | gtk/gtkspinbutton.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index 741924551e..bf2e59632b 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -1148,9 +1148,9 @@ gtk_spin_button_motion_notify (GtkWidget *widget, if (event->window == spin->panel) { - gint y; - - gdk_window_get_pointer (spin->panel, NULL, &y, NULL); + gint y = event->y; + + gdk_event_request_motions (event); if (y <= widget->requisition.height / 2 && spin->in_child == GTK_ARROW_DOWN) |