]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix delay between tool bar clicks and visual feedback
authorPo Lu <luangruo@yahoo.com>
Tue, 23 Nov 2021 01:20:15 +0000 (01:20 +0000)
committerPo Lu <luangruo@yahoo.com>
Tue, 23 Nov 2021 01:20:15 +0000 (01:20 +0000)
* src/haikuterm.c (haiku_read_socket): Redisplay after tool
bar click.

src/haikuterm.c

index 5364ebf823af74ac3a4df2ebaaac391d1706fa03..da8c92d6217c634c4918c0a0635bc2bc2d390668 100644 (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)