changeset 23295:722f0b9703c7

(mouse-avoidance-banish-hook): Don't move unless in an Emacs frame.
author Karl Heuer <kwzh@gnu.org>
date Mon, 21 Sep 1998 19:42:29 +0000
parents ce2cac0f1682
children 4fe2d7d673cb
files lisp/avoid.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/avoid.el	Mon Sep 21 17:57:46 1998 +0000
+++ b/lisp/avoid.el	Mon Sep 21 19:42:29 1998 +0000
@@ -268,6 +268,7 @@
 
 (defun mouse-avoidance-banish-hook ()
   (if (and (not executing-kbd-macro)	; don't check inside macro
+	   (cadr (mouse-position))      ; don't move unless in an Emacs frame
 	   ;; Don't do anything if last event was a mouse event.
 	   (not (and (consp last-input-event)
 		     (symbolp (car last-input-event))