* lisp/xt-mouse.el: Add mouse-tracking support.
commitc2385c6f36d346d6524a4119109f52d4fd975244
authorOlaf Rogalsky <olaf.rogalsky@gmail.com>
Wed, 25 Mar 2015 01:04:00 +0000 (24 21:04 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Mar 2015 01:04:00 +0000 (24 21:04 -0400)
tree70d917cbe59b248222db3ec1d30a9ab51b3d9f61
parentb28753b55ce83215b15661d16bfbafe3c8964b2a
* lisp/xt-mouse.el: Add mouse-tracking support.

Fixes: debbugs:19416

* lisp/xt-mouse.el: Add mouse-tracking support.
(xterm-mouse-translate-1): Handle mouse-movement events.
(xterm-mouse--read-event-sequence-1000)
(xterm-mouse--read-event-sequence-1006): Delete functions.
(xterm-mouse--read-event-sequence): New function that handles both at
the same time.  Handle mouse-movements.
(xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal):
New functions.
(xterm-mouse-event): Simplify.
(xterm-mouse-tracking-enable-sequence)
(xterm-mouse-tracking-disable-sequence): Enable mouse tracking.

* lisp/mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events.
etc/NEWS
lisp/ChangeLog
lisp/mouse.el
lisp/xt-mouse.el