emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should FOCUS_OUT_EVENT be ignored for the purposes of input-pending-


From: Stefan Monnier
Subject: Re: Should FOCUS_OUT_EVENT be ignored for the purposes of input-pending-p? [was: Edebug, with Elisp source in different frame...]
Date: Thu, 18 Oct 2018 12:28:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> @@ -3344,7 +3344,8 @@ readable_events (int flags)
>  #ifdef USE_TOOLKIT_SCROLL_BARS
>                   (flags & READABLE_EVENTS_FILTER_EVENTS) &&
>  #endif
> -                 event->kind == FOCUS_IN_EVENT)
> +                 (event->kind == FOCUS_IN_EVENT
> +                     || event->kind == FOCUS_OUT_EVENT))
>  #ifdef USE_TOOLKIT_SCROLL_BARS
>                 && !((flags & READABLE_EVENTS_IGNORE_SQUEEZABLES)
>                      && (event->kind == SCROLL_BAR_CLICK_EVENT

LGTM, thank you Alan,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]