]> git.eshelyaron.com Git - emacs.git/commit
Minor fixes to cursor color handling on Haiku
authorPo Lu <luangruo@yahoo.com>
Tue, 24 May 2022 02:09:59 +0000 (02:09 +0000)
committerPo Lu <luangruo@yahoo.com>
Tue, 24 May 2022 02:09:59 +0000 (02:09 +0000)
commitcd355038d9451c37cc2081ad35ac13383d993351
treeb2495082237c20e6084f8996a02781e3407de78f
parent689be0bdd5ba0a619fd97c435f75d43c15b164e2
Minor fixes to cursor color handling on Haiku

* src/haikufns.c (haiku_decode_color): New function.
(haiku_set_foreground_color, haiku_set_background_color)
(haiku_set_cursor_color, haiku_set_mouse_color): Use that
function to decode colors instead.  Also set cursor GC
foreground when setting background color.

* src/haikuterm.c (haiku_merge_cursor_foreground): Fix color
equality test.
src/haikufns.c
src/haikuterm.c