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

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

Re: How to determine (from Elisp) whether the Emacs frame has focus?


From: Random832
Subject: Re: How to determine (from Elisp) whether the Emacs frame has focus?
Date: Sat, 14 Nov 2015 03:36:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

Eli Zaretskii <eliz@gnu.org> writes:
> I'm probably missing something very important, because I don't
> understand what you are looking for.  The selected frame by definition
> has focus, at least AFAIK.  What am I missing?

Well that may be true who never leave their Emacs instance, but for the
rest of us some non-Emacs application might have focus instead.

(Also I suspect by "selected" he meant a frame the programmer "selects"
to pass in to e.g. a function that answers the question, rather than
selected-frame.)




reply via email to

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