]> git.eshelyaron.com Git - emacs.git/commit
Handle GUI input while inside popup dialog on Haiku
authorPo Lu <luangruo@yahoo.com>
Sun, 20 Feb 2022 10:38:38 +0000 (10:38 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 20 Feb 2022 10:38:38 +0000 (10:38 +0000)
commitdad7ee23539176561be99f3e124871d893e7c600
treecff0ec5bcdfae6d74989c08668724734f0a697cd
parentd7fc7bdd81acd37fda8c094754e3f118e11a3b2a
Handle GUI input while inside popup dialog on Haiku

* src/haiku_support.cc (alert_popup_value): New variable.
(be_alert_thread_entry): New function.
(BAlert_go): Complete rewrite that allows async input to be
handled while the popup is active.
* src/haiku_support.h: Update prototypes.
* src/haikumenu.c (haiku_dialog_show, haiku_popup_dialog): Stop
blocking input and pass required callbacks to `BAlert_go'.
* src/haikuterm.c (haiku_term_init): Set interrupt input mode to
t.
src/haiku_support.cc
src/haiku_support.h
src/haikumenu.c
src/haikuterm.c