]> git.eshelyaron.com Git - emacs.git/commit
Fix cursor for new widget views
authorPo Lu <luangruo@yahoo.com>
Sat, 6 Nov 2021 04:34:41 +0000 (12:34 +0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Nov 2021 01:59:41 +0000 (02:59 +0100)
commiteb5a079feed99379dacf8c6ced449a65e8069c4b
treeaf9a5a3e153d6b6a5ee8ab3b913808bdbbf7a08c
parent1cc19d0437a712a1589c0adaaa65d7c12decd8c1
Fix cursor for new widget views

* src/xwidget.c (Fmake_xwidget): Clear hit result.
(cursor_for_hit): Use integer hit result.
(define_cursors): Set hit result appropriately.
(widget_init_view): Set cursor to the existing hit result.

* src/xwidget.h (struct xwidget): Add hit result field.
src/xwidget.c
src/xwidget.h