aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/avoid.el
diff options
context:
space:
mode:
authorPo Lu2022-05-27 16:34:28 +0800
committerPo Lu2022-05-27 16:34:28 +0800
commit01e3345b7bac8f8e79433360e3f2a6fa089c8ff7 (patch)
tree6f7ac97534b3bf216711b35c6a707a67546b217a /lisp/avoid.el
parent27de58af8b3a7617868408886f94bb12f7785800 (diff)
parent758fed537b7780807bf00705f6441d1550e7a945 (diff)
downloademacs-x-window-xwidget.tar.gz
emacs-x-window-xwidget.zip
Merge remote-tracking branch 'origin/master' into x-window-xwidgetx-window-xwidget
Diffstat (limited to 'lisp/avoid.el')
-rw-r--r--lisp/avoid.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/avoid.el b/lisp/avoid.el
index c97e51a6f7d..2e77c8feff1 100644
--- a/lisp/avoid.el
+++ b/lisp/avoid.el
@@ -293,6 +293,8 @@ accumulated, and tries to keep it close to zero."
293 (mouse-avoidance-set-mouse-position (cons (+ (car (cdr cur)) deltax) 293 (mouse-avoidance-set-mouse-position (cons (+ (car (cdr cur)) deltax)
294 (+ (cdr (cdr cur)) deltay)))))) 294 (+ (cdr (cdr cur)) deltay))))))
295 295
296(defvar x-pointer-invisible) ; silence byte-compiler
297
296(defun mouse-avoidance-random-shape () 298(defun mouse-avoidance-random-shape ()
297 "Return a random cursor shape. 299 "Return a random cursor shape.
298This assumes that any variable whose name begins with x-pointer- and 300This assumes that any variable whose name begins with x-pointer- and