help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: closing emacsclient always focuses another emacs window


From: Gregor Zattler
Subject: Re: closing emacsclient always focuses another emacs window
Date: Thu, 6 Mar 2014 23:11:39 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Trygve,
* trygve.flathen@gmail.com <trygve.flathen@gmail.com> [06. Mar. 2014]:
> I edit files from my terminal with an alias doing
>   emacsclient -c file &
> When I later close the window with C-#, focus will always be given to another 
> emacs window, even across my virtual desktops.
> 
> How can I make focus return to the terminal (or whatever had focus just 
> before) when I close the emacsclient window?
> 
> Searching for this problem is hard since it is vastly outnumbered by problems 
> regarding focus on opening the client instead of closing. I found 
> https://bugs.kde.org/show_bug.cgi?id=187718, but that discussion focuses (no 
> pun intended) on kde.


I had the very same problem.  If focus-follows-mouse is non-nil
on your system please have a look at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7553

Perhaps setting focus-follows-mouse to nil helps.


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



reply via email to

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