]> git.eshelyaron.com Git - emacs.git/commit
Fix mouse pointer avoidance in some configurations
authorPo Lu <luangruo@yahoo.com>
Wed, 11 May 2022 08:01:32 +0000 (16:01 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 11 May 2022 08:01:52 +0000 (16:01 +0800)
commit95717db1e8045f14ca427243a86a0cd433e07273
treea1f9ae21d9e6b5812254801a358dad4d05a7b47b
parentc8141f76758c43ef861cf6ba70895c01252f85c5
Fix mouse pointer avoidance in some configurations

* lisp/avoid.el (mouse-avoidance-random-shape): Ignore invisible
pointer.
(mouse-avoidance-ignore-p): Adjust for interprogram DND.
* lisp/term/x-win.el (x-pointer-invisible): Make value larger
than the maximum possible glyph.

* src/xfns.c (x_set_mouse_color): Use function that handles
`x-pointer-invisible' too.
* src/xterm.c (x_create_font_cursor): New function.  Handle
invisible cursors.
* src/xterm.h: Update prototypes.
lisp/avoid.el
lisp/term/x-win.el
src/xfns.c
src/xterm.c
src/xterm.h