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: Marcin Borkowski
Subject: Re: How to determine (from Elisp) whether the Emacs frame has focus?
Date: Sat, 14 Nov 2015 11:15:47 +0100
User-agent: mu4e 0.9.15; emacs 25.0.50.1

On 2015-11-14, at 09:44, Michael Heerdegen <michael_heerdegen@web.de> wrote:

> 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?
>
> I think he means whether that frame has input focus.
>
> When you select e.g. an xterm in X, you have still the same
> `selected-frame' in Emacs, though no Emacs frame has input focus.

Exactly, as I wrote in another post.  I want to be able to determine
what is the "active application".

> Michael.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



reply via email to

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