emacs-devel
[Top][All Lists]
Advanced

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

Re: input-pending-p after make-frame-visible


From: Aaron Jensen
Subject: Re: input-pending-p after make-frame-visible
Date: Thu, 21 Oct 2021 07:33:05 -0400

On Thu, Oct 21, 2021 at 7:25 AM Aaron Jensen <aaronjensen@gmail.com> wrote:
>
> It appears that FOCUS_IN_EVENT has been ignored since 2002:
> a0ba8995e3c579f4c57a674b1b44d60f6a4fb82d
> That introduced a bug with X focus handling, so the filtering was made
> to only work for input-pending-p:
> 20057d5215674d9c83b79fafedf37bf36b2fd0ae

One more addition to the tale: 7cfe2dc415d0a5768f9e6800836ff6887079dc30

That started ignoring FOCUS_OUT_EVENT: "This prevents input-pending-p
returning t when one of these events
arrives, and thus obviates an instant termination of sit-for when there's no
"real" event waiting."

Just a little more precedent for changes in this area intended to
affect input-pending-p. All of it's the same, we only want
input-pending-p to return t if there is an input pending.

It does make me wonder if we should rename
while-no-input-ignore-events to something like input-ignore-events or
non-input-events. Thoughts?

Aaron



reply via email to

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