]> git.eshelyaron.com Git - emacs.git/commitdiff
Use more reasonable default timeouts in Haiku menu loop
authorPo Lu <luangruo@yahoo.com>
Sat, 12 Mar 2022 03:02:03 +0000 (03:02 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 12 Mar 2022 03:02:03 +0000 (03:02 +0000)
* src/haiku_support.cc (BMenu_run): Set default timeout to 10
seconds.

src/haiku_support.cc

index c95cd6d940f078c0e1489f5e2c4b3cfddb8e37fa..6b33245f64c09a8f841c4affc5c68732af3e36a0 100644 (file)
@@ -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);