From 46ac4d0e56fca826899f4e9f893dfe3ba2965833 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Tue, 3 Jul 2007 22:59:06 +0000 Subject: fixed up motion hint description. Wed Jul 4 00:58:24 2007 Tim Janik * gdk/tmpl/events.sgml: fixed up motion hint description. svn path=/trunk/; revision=18370 --- docs/reference/ChangeLog | 4 ++++ docs/reference/gdk/tmpl/events.sgml | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'docs/reference') diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 16a70ae6d..5d541118f 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +Wed Jul 4 00:58:24 2007 Tim Janik + + * gdk/tmpl/events.sgml: fixed up motion hint description. + 2007-07-03 Matthias Clasen * gtk/tmpl/gtkdrawingarea.sgml: Fix a reference diff --git a/docs/reference/gdk/tmpl/events.sgml b/docs/reference/gdk/tmpl/events.sgml index 5db35cb2e..c29c6bc09 100644 --- a/docs/reference/gdk/tmpl/events.sgml +++ b/docs/reference/gdk/tmpl/events.sgml @@ -104,10 +104,11 @@ above. number of %GDK_MOTION_NOTIFY events received. Normally a %GDK_MOTION_NOTIFY event is received each time the mouse moves. However, if the application spends a lot of time processing the event (updating the display, for example), -it can easily lag behind the position of the mouse. When using the -%GDK_POINTER_MOTION_HINT_MASK the server will only send a single -%GDK_MOTION_NOTIFY event (which is marked as a hint) until the application -asks for more, by calling gdk_window_get_pointer(). +it can lag behind the position of the mouse. When using +%GDK_POINTER_MOTION_HINT_MASK, fewer %GDK_MOTION_NOTIFY events will be sent, +some of which are marked as a hint (the is_hint member is %TRUE). +To receive more motion events after a motion hint event, the application +needs to asks for more, by calling gdk_event_request_motions(). @GDK_EXPOSURE_MASK: receive expose events -- cgit v1.2.1