[Top][All Lists]

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

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

From: Stefan Kangas
Subject: bug#20097: 25.0.50; focus-out-hook doesn't work w/other emacsclient frame
Date: Wed, 15 Jan 2020 06:30:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Rasmus <address@hidden> writes:

> Stefan Monnier <address@hidden> writes:
>>> I think focus-out-hook doesn't work as expected when used with other
>>> emacsclient that belong to the same daemon.  Of course I could be
>>> misunderstanding the meaning of "input focus" cf. the docstring.
>> `focus-out-hook' is run when focus moved away from Emacs (at least,
>> that's the intention).
>> If you want a hook run when switching between frames, then I think
>> you'll need to catch the `switch-frame' event (yes, this sucks: one is
>> a hook, the other is an event), which is normally handled by
>> handle-switch-frame via a binding in the global-map.
>> So IIUC I think that what you're seeing is not a bug.  But I'm not sure IUC.
> Okay.  That's a shame...

Does anyone else have an opinion here?  If I don't hear anything else
within a couple of weeks, I'll assume Stefan Monnier is correct, and
close this as notabug.

Best regards,
Stefan Kangas

reply via email to

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