aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-01-01 12:56:50 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-07 16:28:37 +0000
commit0bf92fff058caab7ed3e13a5d488a629b4ac9a46 (patch)
tree32a1b0d7665b283c148060fb8d10d39e05120a8a /input.c
parentrender: add render_xcursor_is_valid() (diff)
term: add term_set_user_mouse_cursor()
This function allows setting a custom mouse cursor. This is done by adding a ‘char*’ member to the term struct. When it is non-NULL, we *always* use that pointer (the exception being when the pointer is hidden), while the pointer is over the grid. This is instead of the hand/beam pointers we otherwise would use.
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions