bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43837: 28.0.50; [NS] Internal border of inactive frame loses color


From: Alan Third
Subject: bug#43837: 28.0.50; [NS] Internal border of inactive frame loses color
Date: Tue, 6 Oct 2020 21:37:15 +0100

On Tue, Oct 06, 2020 at 10:40:33PM +0300, Andrii Kolomoiets wrote:
> In 'emacs -Q':
> 
> 1. M-: (setq test-frame (make-frame '((left . 50) (top . 50))))
> 2. C-x 5 o
> 3. M-: (set-face-background 'internal-border "blue" test-frame)
> 4. M-: (modify-frame-parameters test-frame '((background-color . "black")))
> 
> Now (face-background 'internal-border test-frame) returns nil.
> If we skip step 2, then the internal border color remains.

This isn't an NS specific problem. Eli actually spotted the bug last
year and put in a FIXME.

I can't think of a good reason for the code to use the selected frame,
but perhaps I'm missing something.

Patch attached.
-- 
Alan Third

Attachment: 0001-Prevent-mixing-of-faces-from-different-frames-bug-43.patch
Description: Text document


reply via email to

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