[Top][All Lists]

[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,
* address@hidden <address@hidden> [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 
>, 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

Perhaps setting focus-follows-mouse to nil helps.

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

reply via email to

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