xterm-mouse-event

xterm-mouse-event is a compiled Lisp function in `xt-mouse.el'.

(xterm-mouse-event &optional EXTENSION)

Convert XTerm mouse event to Emacs mouse event.
EXTENSION, if non-nil, means to use an extension to the usual
terminal mouse protocol; we currently support the value 1006,
which is the "1006" extension implemented in Xterm >= 277.