GNU bug report logs - #16761
24.3.50; focus-in-hook not running accurately when frame switches to terminal

Previous Next

Package: emacs;

Reported by: Steven Edwards <cureadvocate <at> gmail.com>

Date: Sat, 15 Feb 2014 12:15:02 UTC

Severity: normal

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Steven Edwards <cureadvocate <at> gmail.com>
Cc: jan.h.d <at> swipnet.se, 16761 <at> debbugs.gnu.org
Subject: bug#16761: 24.3.50; focus-in-hook not running accurately when frame switches to terminal
Date: Sat, 15 Feb 2014 22:39:12 +0200
> Date: Sat, 15 Feb 2014 12:23:56 -0500
> From: Steven Edwards <cureadvocate <at> gmail.com>
> Cc: 16761 <at> debbugs.gnu.org, jan.h.d <at> swipnet.se
> 
> On 2/15/14, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > How can Emacs get a focus-in event for the terminal frame, when the
> > event is sent by X?  Jan, is this possible with X?
> 
> Interesting.  I wasn't aware those events were sent by X.
> 
> Out of curiosity, then, how does Emacs produce the message indicating
> a terminal frame after I return to an X frame?  It seems like it's
> blocking somewhere.

I think the event is generated by X when you switch to a GUI frame,
and the terminal frame is just indicated as the previous one (since
Emacs does know about its terminal frames).  But I may be mistaken, so
I prefer to hear from Jan on this.




This bug report was last modified 3 years and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.