Commit cb666f2d authored by Nick Roberts's avatar Nick Roberts
Browse files

(xterm-mouse-event): Set last-input-event so

that (list last-input-event) works as in interactive spec.
parent 17550579
......@@ -146,10 +146,12 @@
(setq xterm-mouse-x x
xterm-mouse-y y)
(if w
(list mouse (posn-at-x-y (- x left) (- y top) w t))
(list mouse
(append (list nil 'menu-bar) (nthcdr 2 (posn-at-x-y x y w t)))))))
(append (list nil 'menu-bar) (nthcdr 2 (posn-at-x-y x y w t))))))))
(define-minor-mode xterm-mouse-mode
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment