GNU Info

Info Node: (elisp)Motion Events

(elisp)Motion Events


Next: Focus Events Prev: Repeat Events Up: Input Events
Enter node , (file) or (file)node

Motion Events
-------------

   Emacs sometimes generates "mouse motion" events to describe motion
of the mouse without any button activity.  Mouse motion events are
represented by lists that look like this:

     (mouse-movement (WINDOW BUFFER-POS (X . Y) TIMESTAMP))

   The second element of the list describes the current position of the
mouse, just as in a click event (Note: Click Events).

   The special form `track-mouse' enables generation of motion events
within its body.  Outside of `track-mouse' forms, Emacs does not
generate events for mere motion of the mouse, and these events do not
appear.  Note: Mouse Tracking.


automatically generated by info2www version 1.2.2.9