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:
parent
919cb31cf7
commit
da3db6a15d
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue