[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 1ef57361ab: Fix last tool bar bug on Haiku as well
From: |
Po Lu |
Subject: |
master 1ef57361ab: Fix last tool bar bug on Haiku as well |
Date: |
Mon, 11 Apr 2022 20:47:50 -0400 (EDT) |
branch: master
commit 1ef57361ab784fb15fbc6a8e14600de395fe6b75
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix last tool bar bug on Haiku as well
* src/haikuterm.c (haiku_read_socket): Adapt last change to
Haiku.
---
src/haikuterm.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/haikuterm.c b/src/haikuterm.c
index 1270fba410..f07e9e0b29 100644
--- a/src/haikuterm.c
+++ b/src/haikuterm.c
@@ -3213,7 +3213,9 @@ haiku_read_socket (struct terminal *terminal, struct
input_event *hold_quit)
int y = b->y;
window = window_from_coordinates (f, x, y, 0, true, true);
- tool_bar_p = EQ (window, f->tool_bar_window);
+ tool_bar_p = (EQ (window, f->tool_bar_window)
+ && (type != BUTTON_UP
+ || f->last_tool_bar_item != -1));
if (tool_bar_p)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 1ef57361ab: Fix last tool bar bug on Haiku as well,
Po Lu <=