]> git.eshelyaron.com Git - emacs.git/commit
Clean up pointer blanking code
authorPo Lu <luangruo@yahoo.com>
Wed, 27 Apr 2022 01:10:18 +0000 (09:10 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 27 Apr 2022 01:10:18 +0000 (09:10 +0800)
commit655b3e009b8a01b027da16fbaf36f5cde14271fe
treec9bcbbc35a2661a8eaaae58efd0662f960526b8c
parent92e49944a39ce6372a80430f65913c4c8b531677
Clean up pointer blanking code

* src/xterm.c (XTtoggle_invisible_pointer): Dispatch to correct
function directly.
(x_probe_xfixes_extension): Return directly based on dpyinfo.
(xfixes_toggle_visible_pointer): Make conditional on
`HAVE_XFIXES'.
(make_invisible_cursor): Initialize `c' correctly.
(x_toggle_visible_pointer): Handle cursor allocation failures.
(x_free_frame_resources): Dispatch with
XTtoggle_visible_pointer.
(x_setup_pointer_blanking): Delete function.
(x_term_init): Initialize blank cursor here instead.
* src/xterm.h (struct x_display_info): New field
`fixes_pointer_blanking'.
src/xterm.c
src/xterm.h