diff options
author | Po Lu <luangruo@yahoo.com> | 2022-03-12 03:02:03 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-03-12 03:02:03 +0000 |
commit | 37cda51353aef6a775612eb6d167dfb9c20aabc9 (patch) | |
tree | f591bcd539457ff26d087f70c70500c1ef903f7a /src | |
parent | 3ba3fdf7aa8637afa4329bc17edfb034ee5c8162 (diff) | |
download | emacs-37cda51353aef6a775612eb6d167dfb9c20aabc9.tar.gz emacs-37cda51353aef6a775612eb6d167dfb9c20aabc9.tar.bz2 emacs-37cda51353aef6a775612eb6d167dfb9c20aabc9.zip |
Use more reasonable default timeouts in Haiku menu loop
* src/haiku_support.cc (BMenu_run): Set default timeout to 10
seconds.
Diffstat (limited to 'src')
-rw-r--r-- | src/haiku_support.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |