XDisplayMotionBufferSize()XDisplayMotionBufferSize()NameXDisplayMotionBufferSize – get motion history buffer size.
Synopsis
unsigned long XDisplayMotionBufferSize(display)
Display *display;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
Returns
The size in events of the buffer.
DescriptionXDisplayMotionBufferSize() queries the approximate maximum number of
elements in the motion history buffer.
The X server may, but is not required to, retain the recent history of
the pointer motion in a motion history buffer. If there is no motion
history buffer, XDisplayMotionBufferSize() returns zero.
Motion history buffers were implemented for the first time in MIT's
sample servers in Release 5, but some earlier releases of commercial
servers may provide support.
An application gains access to the motion history buffer with XGetMo‐
tionEvents(). This buffer may contain a finer granularity of events
than is reported by MotionNotify events.
There is no such macro as DisplayMotionBufferSize().
See AlsoXGetMotionEvents().
Xlib - Event Handling XDisplayMotionBufferSize()