[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 37cda51353: Use more reasonable default timeouts in Haiku menu lo
From: |
Po Lu |
Subject: |
master 37cda51353: Use more reasonable default timeouts in Haiku menu loop |
Date: |
Fri, 11 Mar 2022 22:03:08 -0500 (EST) |
branch: master
commit 37cda51353aef6a775612eb6d167dfb9c20aabc9
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Use more reasonable default timeouts in Haiku menu loop
* src/haiku_support.cc (BMenu_run): Set default timeout to 10
seconds.
---
src/haiku_support.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/haiku_support.cc b/src/haiku_support.cc
index c95cd6d940..6b33245f64 100644
--- a/src/haiku_support.cc
+++ b/src/haiku_support.cc
@@ -2807,7 +2807,7 @@ BMenu_run (void *menu, int x, int y,
next_time = process_pending_signals_function ();
if (next_time.tv_nsec < 0)
- timeout = 100000;
+ timeout = 10000000000;
else
timeout = (next_time.tv_sec * 1000000
+ next_time.tv_nsec / 1000);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 37cda51353: Use more reasonable default timeouts in Haiku menu loop,
Po Lu <=