Subject: Re: bug#20097: 25.0.50; focus-out-hook doesn't work w/other emacsclient frame

From: Stefan Monnier <[email-masked]>
Date: Wed, 15 Jan 2020 14:08:19 -0500

> Thanks.  If I understand correctly, the feature request is then to add
> a new hook to be run when switching frames.

I guess so, yes.  But please clarify exactly what you mean by "switching
frame".  E.g. consider the difference between
- changing focus from the window manager
- selecting another frame with `select-frame`.
- hitting M-x in a minibuffer-free frame (which lends you in the
  minibuffer of another frame, e.g. in a minibuffer-only frame).

        Stefan