diff options
author | Po Lu <luangruo@yahoo.com> | 2021-11-23 01:20:15 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2021-11-23 01:20:15 +0000 |
commit | da3db6a15d1fa20e862ee7b95aeed84ab86dbb05 (patch) | |
tree | 0e0a815bc139aa0ad211915f0a42616696fff6e9 | |
parent | 919cb31cf7f2aec2d8134783b0a5bb93a621fcaf (diff) | |
download | emacs-da3db6a15d1fa20e862ee7b95aeed84ab86dbb05.tar.gz emacs-da3db6a15d1fa20e862ee7b95aeed84ab86dbb05.tar.bz2 emacs-da3db6a15d1fa20e862ee7b95aeed84ab86dbb05.zip |
Fix delay between tool bar clicks and visual feedback
* src/haikuterm.c (haiku_read_socket): Redisplay after tool
bar click.
-rw-r--r-- | src/haikuterm.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/haikuterm.c b/src/haikuterm.c index 5364ebf823a..da8c92d6217 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -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) |