diff options
| author | Dave Love | 2000-02-20 12:34:49 +0000 |
|---|---|---|
| committer | Dave Love | 2000-02-20 12:34:49 +0000 |
| commit | 7565ee9323a01cb603c34737d29f67d64bd22994 (patch) | |
| tree | 900e22b69ea25d2b6b3fc709f5ecb2181458e2fb | |
| parent | 0ae278818a7891c7166e568da2f575bb24b4267e (diff) | |
| download | emacs-7565ee9323a01cb603c34737d29f67d64bd22994.tar.gz emacs-7565ee9323a01cb603c34737d29f67d64bd22994.zip | |
(display-mouse-p): Use variable xterm-mouse-mode and check for t-mouse
too.
| -rw-r--r-- | lisp/frame.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index a9d4121949b..394652d5310 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; frame.el --- multi-frame management independent of window systems. | 1 | ;;; frame.el --- multi-frame management independent of window systems. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993, 1994, 1996, 1997, 2000 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Maintainer: FSF | 5 | ;; Maintainer: FSF |
| 6 | ;; Keywords: internal | 6 | ;; Keywords: internal |
| @@ -803,7 +803,11 @@ frame's display)." | |||
| 803 | ((memq frame-type '(x mac)) | 803 | ((memq frame-type '(x mac)) |
| 804 | t) ;; We assume X and Mac *always* have a pointing device | 804 | t) ;; We assume X and Mac *always* have a pointing device |
| 805 | (t | 805 | (t |
| 806 | (featurep 'xt-mouse))))) | 806 | (or (and (featurep 'xt-mouse) |
| 807 | xterm-mouse-mode) | ||
| 808 | ;; t-mouse is distributed with the GPM package. It doesn't have | ||
| 809 | ;; a toggle. | ||
| 810 | (featurep 't-mouse)))))) | ||
| 807 | 811 | ||
| 808 | (defun display-popup-menus-p (&optional display) | 812 | (defun display-popup-menus-p (&optional display) |
| 809 | "Return non-nil if popup menus are supported on DISPLAY. | 813 | "Return non-nil if popup menus are supported on DISPLAY. |