* src/haikufns.c (haiku_set_foreground_color): Maybe set cursor
color correctly if it was equal to the old foreground color.
if (FRAME_HAIKU_WINDOW (f))
{
-
if (output->cursor_color.pixel == old_fg)
- {
- output->cursor_color.pixel = old_fg;
- output->cursor_color.red = RED_FROM_ULONG (old_fg);
- output->cursor_color.green = GREEN_FROM_ULONG (old_fg);
- output->cursor_color.blue = BLUE_FROM_ULONG (old_fg);
- }
+ haiku_query_color (fg, &output->cursor_color);
update_face_from_frame_parameter (f, Qforeground_color, arg);