From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13225: 24.3.50; Non-selected window has not mode-line-inactive face Date: Thu, 20 Dec 2012 19:37:08 +0200 Message-ID: <83y5gsmxq3.fsf@gnu.org> References: <50D176DF.4080102@gmx.at> <83zk1anhzd.fsf@gnu.org> <50D2E16B.70804@gmx.at> <83623wofhj.fsf@gnu.org> <50D349E6.3080200@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1356025080 601 80.91.229.3 (20 Dec 2012 17:38:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Dec 2012 17:38:00 +0000 (UTC) Cc: 13225@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 20 18:38:15 2012 Return-path: Envelope-to: geb-bug-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 1Tlk4U-0006Fl-Ba for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2012 18:38:14 +0100 Original-Received: from localhost ([::1]:40110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlk4G-0001A6-On for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2012 12:38:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlk4C-00019k-7a for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:37:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tlk4B-000601-1l for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:37:56 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlk4A-0005zx-UU for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:37:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tlk4J-0004G9-Ad for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:38:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Dec 2012 17:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13225 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13225-submit@debbugs.gnu.org id=B13225.135602502316204 (code B ref 13225); Thu, 20 Dec 2012 17:38:02 +0000 Original-Received: (at 13225) by debbugs.gnu.org; 20 Dec 2012 17:37:03 +0000 Original-Received: from localhost ([127.0.0.1]:52911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tlk3K-0004DI-Mi for submit@debbugs.gnu.org; Thu, 20 Dec 2012 12:37:02 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:59410) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tlk3I-0004Co-7i for 13225@debbugs.gnu.org; Thu, 20 Dec 2012 12:37:01 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MFC00900B8LXY00@a-mtaout21.012.net.il> for 13225@debbugs.gnu.org; Thu, 20 Dec 2012 19:36:49 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MFC009QEBLDUJ50@a-mtaout21.012.net.il>; Thu, 20 Dec 2012 19:36:49 +0200 (IST) In-reply-to: <50D349E6.3080200@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68808 Archived-At: > Date: Thu, 20 Dec 2012 18:24:54 +0100 > From: martin rudalics > CC: Stefan Monnier , 13225@debbugs.gnu.org > > > The cursor is unaffected, because we use a different test there, see > > get_window_cursor_type. > > Does this mean we could have used something like > > if (w = XWINDOW (f->selected_window) > && f = FRAME_X_DISPLAY_INFO (f)->x_highlight_frame) > > for checking whether the mode line should indicate that w is the > selected window? Maybe, I'm not sure. There's this note in the comments to x_highlight_frame member: /* The frame which currently has the visual highlight, and should get keyboard input (other sorts of input have the frame encoded in the event). It points to the X focus frame's selected window's frame. It differs from x_focus_frame when we're using a global ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ minibuffer. */ ^^^^^^^^^^ How is (or should be) the mode line displayed when input goes to a "global minibuffer"?