emacs-devel
[Top][All Lists]
Advanced

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

Re:Re:Re: face-remapping-alist can not override internal-border face?


From: tumashu
Subject: Re:Re:Re: face-remapping-alist can not override internal-border face?
Date: Sun, 10 Mar 2019 18:28:03 +0800 (CST)










At 2019-03-10 18:22:19, "tumashu" <address@hidden> wrote:
>
>
>
>
>
>
>
>
>
>
>At 2019-03-10 16:47:27, "martin rudalics" <address@hidden> wrote:
>> >> I have tested, but I found that it *only* work normal frame,  child-frame 
>> >> do not work:
>> >
>> > I think that's expected.  Martin?
>>
>>It works here without problems.  The internal border is important for
>>child frames since some window systems cannot/do not draw an external
>>border around them.  So it's important to make the internal border
>>stand out in some way with a different color and/or width.  I have not
>>found a system here where setting its background does not work.
>>
>>martin
>
>I use below code to test, when child-frame is created, border's color is not 
>change,  after I click frame with the help of mouse, the border's color change
>to green
>
> 
>  (set-face-background
>   'internal-border
>   (face-attribute 'test :background)
>   (make-frame `((internal-border-width . 100)
>                (parent-frame . ,(window-frame)))))

I use your example to create child-frame, need click too,  emacs26 msys2 win7

reply via email to

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