summaryrefslogtreecommitdiff
path: root/gdk/gdkdevice.c
diff options
context:
space:
mode:
authorMartin Renold <martinxyz@gmx.ch>2013-11-16 01:25:27 +0100
committerBenjamin Otte <otte@redhat.com>2013-11-16 01:50:53 +0100
commit701daf2b0565047e41aa4691c4007eaeb32416a5 (patch)
tree6ccc11e9be6fcd25d05ac05b3305543d616b133b /gdk/gdkdevice.c
parent00be62546f490c3efeec253ab5948fb0ea78484f (diff)
downloadgtk+-701daf2b0565047e41aa4691c4007eaeb32416a5.tar.gz
gdk: Document event compression better
Advise against using GDK_POINTER_MOTION_HINT_MASK. Add pointers to gdk_window_set_event_compression() to the documentation.
Diffstat (limited to 'gdk/gdkdevice.c')
-rw-r--r--gdk/gdkdevice.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index 6355073b2c..d41380430d 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -593,6 +593,10 @@ gdk_device_get_window_at_position (GdkDevice *device,
* be returned. (This is not distinguishable from the case where
* motion history is supported and no events were found.)
*
+ * Note that there is also gdk_window_set_event_compression() to get
+ * more motion events delivered directly, independent of the windowing
+ * system.
+ *
* Return value: %TRUE if the windowing system supports motion history and
* at least one event was found.
**/