;; Don't throw `throw-on-input' on those events by default.
(setq while-no-input-ignore-events
- '(focus-in focus-out help iconify deiconify selection-request))
+ '(focus-in focus-out help-echo iconify-frame
+ make-frame-visible selection-request))
(defmacro while-no-input (&rest body)
"Execute BODY only as long as there's no pending input.
{
case FOCUS_IN_EVENT: ignore_event = Qfocus_in; break;
case FOCUS_OUT_EVENT: ignore_event = Qfocus_out; break;
- case HELP_EVENT: ignore_event = Qhelp; break;
- case ICONIFY_EVENT: ignore_event = Qiconify; break;
- case DEICONIFY_EVENT: ignore_event = Qdeiconify; break;
+ case HELP_EVENT: ignore_event = Qhelp_echo; break;
+ case ICONIFY_EVENT: ignore_event = Qiconify_frame; break;
+ case DEICONIFY_EVENT: ignore_event = Qmake_frame_visible; break;
case SELECTION_REQUEST_EVENT: ignore_event = Qselection_request; break;
}
DEFSYM (Qiconify_frame, "iconify-frame");
DEFSYM (Qmake_frame_visible, "make-frame-visible");
DEFSYM (Qselect_window, "select-window");
- DEFSYM (Qhelp, "help");
- DEFSYM (Qiconify, "iconify");
- DEFSYM (Qdeiconify, "deiconify");
DEFSYM (Qselection_request, "selection-request");
{
int i;