diff options
| author | Po Lu | 2022-03-12 03:02:03 +0000 |
|---|---|---|
| committer | Po Lu | 2022-03-12 03:02:03 +0000 |
| commit | 37cda51353aef6a775612eb6d167dfb9c20aabc9 (patch) | |
| tree | f591bcd539457ff26d087f70c70500c1ef903f7a /src | |
| parent | 3ba3fdf7aa8637afa4329bc17edfb034ee5c8162 (diff) | |
| download | emacs-37cda51353aef6a775612eb6d167dfb9c20aabc9.tar.gz 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, | |||
| 2807 | next_time = process_pending_signals_function (); | 2807 | next_time = process_pending_signals_function (); |
| 2808 | 2808 | ||
| 2809 | if (next_time.tv_nsec < 0) | 2809 | if (next_time.tv_nsec < 0) |
| 2810 | timeout = 100000; | 2810 | timeout = 10000000000; |
| 2811 | else | 2811 | else |
| 2812 | timeout = (next_time.tv_sec * 1000000 | 2812 | timeout = (next_time.tv_sec * 1000000 |
| 2813 | + next_time.tv_nsec / 1000); | 2813 | + next_time.tv_nsec / 1000); |