]> git.eshelyaron.com Git - emacs.git/commit
Clean up PGTK cursor blanking code
authorPo Lu <luangruo@yahoo.com>
Sun, 27 Mar 2022 11:53:49 +0000 (19:53 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 27 Mar 2022 11:53:49 +0000 (19:53 +0800)
commit46863b7dfa210e73244af9bc790222dd66d5051d
tree7ea45870ae53962d97454858da4f7c597041ffc6
parent9f43549cdfaeb26392f6b99524ae35c4101d0eb7
Clean up PGTK cursor blanking code

* src/pgtkterm.c (XTframe_rehighlight): Rename to
`pgtk_frame_rehighlight_hook'.  All callers changed.
(x_toggle_visible_pointer): Rename to
`pgtk_toggle_visible_pointer'.  All callers changed.
(x_setup_pointer_blanking, XTtoggle_invisible_pointer): Delete
functions.
(pgtk_create_terminal): Use new names for various hooks.
(pgtk_term_init): Set up blank cursor directly.

* src/pgtkterm.h (struct pgtk_display_info): Remove
`toggle_visible_pointer'.
src/pgtkterm.c
src/pgtkterm.h