mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix dragging mode line on text terminals with a mouse (bug#67457)
* lisp/xt-mouse.el (xterm-mouse-translate-1): Fix the 'event-kind' property of mouse-movement symbols emitted by xt-mouse. * lisp/term/linux.el (terminal-init-linux): Call 'gpm-mouse-mode' to set up the terminal for the mouse, if needed.
This commit is contained in:
parent
12daf386f3
commit
46fe7a17f5
2 changed files with 12 additions and 4 deletions
|
|
@ -13,9 +13,13 @@
|
|||
;; Compositions confuse cursor movement.
|
||||
(setq-default auto-composition-mode "linux")
|
||||
|
||||
;; Ensure additional terminal setup is done when `gpm-mouse-mode' is
|
||||
;; enabled.
|
||||
(ignore-errors (when gpm-mouse-mode (gpm-mouse-mode 1)))
|
||||
|
||||
;; Don't translate ESC TAB to backtab as directed by ncurses-6.3.
|
||||
(define-key input-decode-map "\e\t" nil)
|
||||
|
||||
|
||||
;; Make Latin-1 input characters work, too.
|
||||
;; Meta will continue to work, because the kernel turns that into Escape.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue