diff options
Diffstat (limited to 'lisp/avoid.el')
| -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 fe47a0c4a33..c864d48e9ce 100644 --- a/lisp/avoid.el +++ b/lisp/avoid.el | |||
| @@ -278,6 +278,7 @@ redefine this function to suit your own tastes." | |||
| 278 | (defun mouse-avoidance-ignore-p () | 278 | (defun mouse-avoidance-ignore-p () |
| 279 | (let ((mp (mouse-position))) | 279 | (let ((mp (mouse-position))) |
| 280 | (or (not (frame-pointer-visible-p)) ; The pointer is hidden | 280 | (or (not (frame-pointer-visible-p)) ; The pointer is hidden |
| 281 | (not cursor-type) ; There's no cursor | ||
| 281 | executing-kbd-macro ; don't check inside macro | 282 | executing-kbd-macro ; don't check inside macro |
| 282 | (null (cadr mp)) ; don't move unless in an Emacs frame | 283 | (null (cadr mp)) ; don't move unless in an Emacs frame |
| 283 | (not (eq (car mp) (selected-frame))) | 284 | (not (eq (car mp) (selected-frame))) |