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/gtktooltip.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/gtktooltip.c')
-rw-r--r-- | gtk/gtktooltip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index 047cdd877f..fbce27ff20 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -997,8 +997,7 @@ _gtk_tooltip_handle_event (GdkEvent *event) } /* Always poll for a next motion event */ - if (event->type == GDK_MOTION_NOTIFY && event->motion.is_hint) - gdk_window_get_pointer (event->any.window, NULL, NULL, NULL); + gdk_event_request_motions (&event->motion); /* Hide the tooltip when there's no new tooltip widget */ if (!has_tooltip_widget) |