Subject: bug#5907: 24.0.50; Alt-Tab from Emacs causes gnome-terminal to lose keyboard input

From: "Jan D." <[email-masked]>
Date: Fri, 09 Apr 2010 09:20:36 +0200

Mingming Ren wrote:
> 1. Open emacs and do some editing
> 2. Alt-Tab to switch to terminator or gnome-terminal
> 3. keyboard input lost in terminator or gnome-terminal
> 4. to get it back in terminator or gnome-terminal, I have to
>   a. right click terminator or gnome-terminal or
>   b. Alt-Tab switch to other application and then switch back
> 
> I only find this problem with emacs and terminator or gnome-terminal.
> Alt-Tab from emacs to other apps like firefox works ok.
> Alt-Tab from other apps to terminator or gnome-terminal works ok.
> 
> It seems to me that emacs holds the keyboard input focus and doesnot
> wish to give it to terminator or gnome-terminal when Alt-Tab.
> 

Please use M-x report-emacs-bug next time, it contains information that 
are useful.

What window manager are you using?
Do you have click-to-focus or focus-follows-mouse?
When you Alt-Tab to gnome-terminal, does the title bar color change on 
gnome-terminal and Emacs?
Does this happen when you start Emacs with -Q?

	Jan D.