Function: display--update-for-mouse-movement

display--update-for-mouse-movement is a function defined in dispnew.c.

Signature

(display--update-for-mouse-movement MOUSE-X MOUSE-Y)

Documentation

Handle mouse movement detected by Lisp code.

This function should be called when Lisp code detects the mouse has moved, even if track-mouse(var)/track-mouse(fun) is nil. This handles updates that do not rely on input events such as updating display for mouse-face properties or updating the help echo text.

Source Code

// Defined in /usr/src/emacs/src/dispnew.c
{
  CHECK_FIXNUM (mouse_x);
  CHECK_FIXNUM (mouse_y);

  update_mouse_position (SELECTED_FRAME (), XFIXNUM (mouse_x),
                         XFIXNUM (mouse_y));
  return Qnil;
}