diff options
author | Philipp Stephani <phst@google.com> | 2016-11-22 21:32:11 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2016-11-22 21:32:11 +0100 |
commit | d4e15492f7c55eabdadc6f3735b84972748e6c0d (patch) | |
tree | 615c836b60c8d9d4edb326e5ea79a51a60c17e81 /lib-src | |
parent | 7287e9654e5370e8069241320262d0b8b8002843 (diff) | |
download | emacs-d4e15492f7c55eabdadc6f3735b84972748e6c0d.tar.gz emacs-d4e15492f7c55eabdadc6f3735b84972748e6c0d.tar.bz2 emacs-d4e15492f7c55eabdadc6f3735b84972748e6c0d.zip |
Guard terminal parameter in XTerm mouse mode
It has been observed (in the HTerm terminal emulator) that the
event stored in the 'xterm-mouse-last-down' terminal parameter gets
overwritten during a mouse drag operation, causing Emacs to attempt to
synthesize the non-existing <drag-mouse-0> event. Copy the event into
the terminal parameter to protect against such modifications.
* lisp/xt-mouse.el (xterm-mouse-translate-1): Guard against modification
of input event list.
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions