Fix delay between tool bar clicks and visual feedback

* src/haikuterm.c (haiku_read_socket): Redisplay after tool
bar click.
This commit is contained in:
Po Lu 2021-11-23 01:20:15 +00:00
parent 919cb31cf7
commit da3db6a15d

View file

@ -2843,8 +2843,11 @@ haiku_read_socket (struct terminal *terminal, struct input_event *hold_quit)
tool_bar_p = EQ (window, f->tool_bar_window);
if (tool_bar_p)
handle_tool_bar_click
(f, x, y, type == BUTTON_DOWN, inev.modifiers);
{
handle_tool_bar_click
(f, x, y, type == BUTTON_DOWN, inev.modifiers);
redisplay ();
}
}
if (type == BUTTON_UP)