Subject: bug#19547: 25.0.50; throw-on-input "fires" when switching workspace

From: Stefan Monnier <[email-masked]>
Date: Sat, 10 Jan 2015 20:47:24 -0500

> if (!NILP (Vthrow_on_input)
>       && event->kind != FOCUS_IN_EVENT
>       && event->kind != HELP_EVENT
>       && event->kind != DEICONIFY_EVENT)
>     {...
>     ...}

> When I add the two lines

>       && event->kind != FOCUS_OUT_EVENT
>       && event->kind != ICONIFY_EVENT

Adding FOCUS_OUT_EVENT seems definitely safe since we already handle
FOCUS_IN_EVENT like that.  As for ICONIFY_EVENT, it seems a bit more
risky, but I think we can give it a try.

        Stefan