From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How to determine (from Elisp) whether the Emacs frame has focus? Date: Sat, 14 Nov 2015 13:04:49 +0200 Message-ID: <83a8qget9q.fsf@gnu.org> References: <87fv09o9p5.fsf@mbork.pl> <83twopdmz4.fsf@gnu.org> <876115as66.fsf@mbork.pl> <83io55dkim.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1447517811 6783 80.91.229.3 (14 Nov 2015 16:16:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Nov 2015 16:16:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 14 17:16:42 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZxdVJ-0006EP-T5 for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Nov 2015 17:16:42 +0100 Original-Received: from localhost ([::1]:35602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxdVJ-0005zV-0t for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Nov 2015 11:16:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxYdj-0001dJ-Gr for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 06:05:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxYdg-0003as-9Y for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 06:05:03 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:41586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxYdg-0003Z1-1h for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 06:05:00 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NXS00K00XA38G00@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 13:08:08 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXS00JGGXLKYW10@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 13:08:08 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108065 Archived-At: > From: Yuri Khan > Date: Sat, 14 Nov 2015 16:54:35 +0600 > Cc: "help-gnu-emacs@gnu.org" >=20 > Now let=E2=80=99s imagine a situation where there is a single Emacs= server, > and a couple of emacsclients connected to it, both displaying their > respective frames *on different X servers*. I believe in that setup > both frames could simultaneously have focus in their respective wms= . > Which of them is =E2=80=9Cthe=E2=80=9D selected frame, from Emacs= =E2=80=99 point of view? The last one that received input.