diff options
| author | Karl Heuer | 1998-09-21 19:42:29 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-09-21 19:42:29 +0000 |
| commit | f799bf7ce3c9b6d00df04c2be111f8d37941f9d0 (patch) | |
| tree | 679746cc1bd35144c72afb7915666653d61f1b98 | |
| parent | cf4a60a3195679829bdc1bde95598420f780bc77 (diff) | |
| download | emacs-f799bf7ce3c9b6d00df04c2be111f8d37941f9d0.tar.gz emacs-f799bf7ce3c9b6d00df04c2be111f8d37941f9d0.zip | |
(mouse-avoidance-banish-hook): Don't move unless in an
Emacs frame.
| -rw-r--r-- | lisp/avoid.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/avoid.el b/lisp/avoid.el index 0ce9e479229..2c3d7e822b9 100644 --- a/lisp/avoid.el +++ b/lisp/avoid.el | |||
| @@ -268,6 +268,7 @@ redefine this function to suit your own tastes." | |||
| 268 | 268 | ||
| 269 | (defun mouse-avoidance-banish-hook () | 269 | (defun mouse-avoidance-banish-hook () |
| 270 | (if (and (not executing-kbd-macro) ; don't check inside macro | 270 | (if (and (not executing-kbd-macro) ; don't check inside macro |
| 271 | (cadr (mouse-position)) ; don't move unless in an Emacs frame | ||
| 271 | ;; Don't do anything if last event was a mouse event. | 272 | ;; Don't do anything if last event was a mouse event. |
| 272 | (not (and (consp last-input-event) | 273 | (not (and (consp last-input-event) |
| 273 | (symbolp (car last-input-event)) | 274 | (symbolp (car last-input-event)) |