GNU bug report logs - #41071
make-frame with internal-border face not working

Previous Next

Package: emacs;

Reported by: 王凯 <wangkai.kaiwk <at> bytedance.com>

Date: Mon, 4 May 2020 09:19:02 UTC

Severity: normal

Merged with 37832

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Third <alan <at> idiocy.org>
To: 王凯 <wangkai.kaiwk <at> bytedance.com>
Cc: 41071 <at> debbugs.gnu.org
Subject: bug#41071: make-frame with internal-border face not working
Date: Wed, 23 Sep 2020 14:03:27 +0100
[Message part 1 (text/plain, inline)]
On Mon, May 04, 2020 at 03:30:09PM +0800, 王凯 wrote:
> 
> (defface test
>   '((t (:inherit default :background "green")))
>   "Face used by the ivy-posframe."
>   :group 'ivy-posframe)
> 
> (set-face-background
> 'internal-border
> (face-attribute 'test :background)
> (make-frame `((internal-border-width . 100)
>                (parent-frame . ,(window-frame)))))
> 
> (set-face-background
> 'internal-border
> (face-attribute 'test :background)
> (make-frame `((internal-border-width . 100))))
> 
> Eval code above in emacs, internal-border-width works but the
> :background not.

Patch against master attached. It appears to work correctly here, but
I'm slightly concerned it may not work so well on older versions of
macOS, but we'll probably just have to wait and see if anyone
complains.
-- 
Alan Third
[0001-Implement-internal-border-colors-on-NS-bug-41071.patch (text/plain, attachment)]

This bug report was last modified 4 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.