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: Michael Heerdegen
Subject: Re: closing emacsclient always focuses another emacs window
Date: Mon, 10 Mar 2014 23:34:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

address@hidden writes:

> Trying again:
>
> $ emacs
> M-x server-start
>
> $ emacsclient -c foo
>
> $ emacsclient -c bar
> M-x debug-on-entry RET select-frame-set-input-focus RET
> C-x #
>
> At that moment this Backtrace pops up in the foo window:
>
> Debugger entered--entering a function:
> * select-frame-set-input-focus(#<frame foo 0x115bc90>)
>   server-switch-buffer(#<buffer foo> t)
>   server-switch-buffer(nil t)
>   apply(server-switch-buffer (nil t))
>   server-edit(nil)
>   call-interactively(server-edit nil nil)

Thanks.

That's consistent with my analysis I described earlier today, and shows
that it's Emacs that focuses the frame, and not any window manager.


Regards,

Michael.




reply via email to

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