From: Po Lu Date: Sat, 12 Mar 2022 03:02:03 +0000 (+0000) Subject: Use more reasonable default timeouts in Haiku menu loop X-Git-Tag: emacs-29.0.90~1931^2~1190 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=37cda51353aef6a775612eb6d167dfb9c20aabc9;p=emacs.git Use more reasonable default timeouts in Haiku menu loop * src/haiku_support.cc (BMenu_run): Set default timeout to 10 seconds. --- 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);