From 37cda51353aef6a775612eb6d167dfb9c20aabc9 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 12 Mar 2022 03:02:03 +0000 Subject: [PATCH] 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 c95cd6d940f..6b33245f64c 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); -- 2.39.2