summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2016-11-28 19:45:55 +0100
committerPhilipp Stephani <phst@google.com>2016-11-28 19:45:55 +0100
commitf6da59737603091c67aee7bc912d3b164350314c (patch)
treed35f1868d891956cd5e84bf777d8235bb2a393d9
parent39809036d39711fb5d01105739dd301ac046b151 (diff)
downloademacs-f6da59737603091c67aee7bc912d3b164350314c.tar.gz
; Revert "Guard terminal par. in XTerm mouse mode"
This reverts commit d4e15492f7c55eabdadc6f3735b84972748e6c0d. Since emacs-25 should only contain regression fixes and doc fixes, this commit was moved to the master branch.
-rw-r--r--lisp/xt-mouse.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el
index 15fc6de6a42..a2b64019f97 100644
--- a/lisp/xt-mouse.el
+++ b/lisp/xt-mouse.el
@@ -70,11 +70,7 @@ http://invisible-island.net/xterm/ctlseqs/ctlseqs.html)."
(cond
((null event) nil) ;Unknown/bogus byte sequence!
(is-down
- (setf (terminal-parameter nil 'xterm-mouse-last-down)
- ;; EVENT might be handed back to the input queue, which
- ;; might modify it. Copy it into the terminal parameter
- ;; to guard against that.
- (copy-sequence event))
+ (setf (terminal-parameter nil 'xterm-mouse-last-down) event)
vec)
(is-move vec)
(t