From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40639: 26.3; Child frame border color not rendered when child frame has no minibuffer Date: Wed, 15 Apr 2020 20:32:33 +0300 Message-ID: <83ftd4fydq.fsf@gnu.org> References: <16aef18e-c440-ca3a-a41b-5079d206ece4@web.de> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="28259"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alexanderm@web.de, 40639@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 15 19:34:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jOlvR-0007Cs-3B for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Apr 2020 19:34:13 +0200 Original-Received: from localhost ([::1]:53134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOlvQ-00013N-53 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Apr 2020 13:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44864) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOlvH-0000zZ-9T for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2020 13:34:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOlvG-0004ZF-Cx for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2020 13:34:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53743) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOlvG-0004Z5-A3 for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2020 13:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jOlvG-0000uT-7B for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2020 13:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Apr 2020 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40639 X-GNU-PR-Package: emacs Original-Received: via spool by 40639-submit@debbugs.gnu.org id=B40639.15869719863426 (code B ref 40639); Wed, 15 Apr 2020 17:34:02 +0000 Original-Received: (at 40639) by debbugs.gnu.org; 15 Apr 2020 17:33:06 +0000 Original-Received: from localhost ([127.0.0.1]:37056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOluM-0000tC-7H for submit@debbugs.gnu.org; Wed, 15 Apr 2020 13:33:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOluK-0000sg-Fr for 40639@debbugs.gnu.org; Wed, 15 Apr 2020 13:33:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jOluE-0003sU-M3; Wed, 15 Apr 2020 13:32:58 -0400 Original-Received: from [176.228.60.248] (port=4985 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jOlu6-0008NN-ID; Wed, 15 Apr 2020 13:32:52 -0400 In-Reply-To: (message from martin rudalics on Wed, 15 Apr 2020 19:20:45 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178416 Archived-At: > From: martin rudalics > Date: Wed, 15 Apr 2020 19:20:45 +0200 > > int face_id = > !NILP (Vface_remapping_alist) > ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) > : INTERNAL_BORDER_FACE_ID; > struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); > > block_input (); > > if (face) > { > unsigned long color = face->background; > > the value of color for a new normal frame is for a few calls white but > switches to red before the frame appears on the display. A child frame > usually must be explicitly focused before its border becomes red (I > don't necessarily need the mouse for that purpose, C-x 5 o works too). > > Maybe our experts in face remapping have an idea. I don't think face mapping is directly involved, this sounds like some X event causes the change.