[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/xt-mouse.el,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/xt-mouse.el,v |
Date: |
Fri, 21 Sep 2007 20:19:14 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 07/09/21 20:19:13
Index: lisp/xt-mouse.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/xt-mouse.el,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- lisp/xt-mouse.el 17 Sep 2007 06:54:23 -0000 1.49
+++ lisp/xt-mouse.el 21 Sep 2007 20:19:10 -0000 1.50
@@ -214,15 +214,8 @@
(add-hook 'delete-frame-functions 'xterm-mouse-handle-delete-frame)
;; Restore normal mouse behaviour outside Emacs.
-
- ;; Temporarily disable this hook, it does not work, when
- ;; `suspend-tty' calls `suspend-tty-functions' the tty->output
- ;; is already set to 0 so the 'send-string-to-terminal' call
- ;; in `turn-off-xterm-mouse-tracking-on-terminal' will result
- ;; in a crash.
- ;; (add-hook 'suspend-tty-functions
- ;; 'turn-off-xterm-mouse-tracking-on-terminal)
-
+ (add-hook 'suspend-tty-functions
+ 'turn-off-xterm-mouse-tracking-on-terminal)
(add-hook 'resume-tty-functions
'turn-on-xterm-mouse-tracking-on-terminal)
(add-hook 'suspend-hook 'turn-off-xterm-mouse-tracking)
@@ -234,8 +227,8 @@
(remove-hook 'after-make-frame-functions
'turn-on-xterm-mouse-tracking-on-terminal)
(remove-hook 'delete-frame-functions 'xterm-mouse-handle-delete-frame)
- ;; (remove-hook 'suspend-tty-functions
- ;; 'turn-off-xterm-mouse-tracking-on-terminal)
+ (remove-hook 'suspend-tty-functions
+ 'turn-off-xterm-mouse-tracking-on-terminal)
(remove-hook 'resume-tty-functions
'turn-on-xterm-mouse-tracking-on-terminal)
(remove-hook 'suspend-hook 'turn-off-xterm-mouse-tracking)
- [Emacs-diffs] Changes to emacs/lisp/xt-mouse.el,v, Dan Nicolaescu, 2007/09/04
- [Emacs-diffs] Changes to emacs/lisp/xt-mouse.el,v, Dan Nicolaescu, 2007/09/04
- [Emacs-diffs] Changes to emacs/lisp/xt-mouse.el,v, Dan Nicolaescu, 2007/09/14
- [Emacs-diffs] Changes to emacs/lisp/xt-mouse.el,v, Dan Nicolaescu, 2007/09/17
- [Emacs-diffs] Changes to emacs/lisp/xt-mouse.el,v, Dan Nicolaescu, 2007/09/17
- [Emacs-diffs] Changes to emacs/lisp/xt-mouse.el,v,
Dan Nicolaescu <=