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: Eli Zaretskii
Subject: Re: input-pending-p after make-frame-visible
Date: Wed, 29 Sep 2021 18:42:40 +0300

> From: Aaron Jensen <aaronjensen@gmail.com>
> Date: Wed, 29 Sep 2021 10:16:22 -0400
> Cc: martin rudalics <rudalics@gmx.at>, emacs-devel@gnu.org
> 
> On Wed, Sep 29, 2021 at 9:13 AM Eli Zaretskii <eliz@gnu.org> wrote:
> >
> > > From: Aaron Jensen <aaronjensen@gmail.com>
> > > Date: Wed, 29 Sep 2021 08:16:32 -0400
> > > Cc: martin rudalics <rudalics@gmx.at>, emacs-devel@gnu.org
> > >
> > > > Can this be done from GDB instead?
> > >
> > > For me, it'd be lldb. Would putting a breakpoint in input-pending-p
> > > tell us anything?
> >
> > You should be able to look at the last event via kbd_fetch_ptr, yes.
> 
> Would that include non-keyboard events like focus out and the like?

Yes.  Emacs has only one event queue, and the "kbd_" part of its name
is misleading (it's a remnant from the original pre-GUI design).



reply via email to

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