[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NS port cleanups
From: |
Alan Third |
Subject: |
Re: NS port cleanups |
Date: |
Sat, 23 Oct 2021 10:09:54 +0100 |
I think I forgot to ask you to make these changes:
modified src/macfont.m
@@ -2924,7 +2924,7 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no
{
if (s->hl == DRAW_CURSOR)
{
- CGColorRef *colorref = get_cgcolor_from_nscolor (FRAME_CURSOR_COLOR
(f));
+ CGColorRef colorref = get_cgcolor_from_nscolor (FRAME_CURSOR_COLOR
(f), f);
CGContextSetFillColorWithColor (context, colorref);
CGColorRelease (colorref);
}
@@ -2940,7 +2940,7 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no
CGContextScaleCTM (context, 1, -1);
if (s->hl == DRAW_CURSOR)
{
- CGColorRef *colorref = get_cgcolor_from_nscolor
(FRAME_BACKGROUND_COLOR (f));
+ CGColorRef colorref = get_cgcolor_from_nscolor
(FRAME_BACKGROUND_COLOR (f), f);
CGContextSetFillColorWithColor (context, colorref);
CGColorRelease (colorref);
}
--
Alan Third
- Re: bug#51251: 29.0.50; Moving cursor on top of raised box leaves artifacts around in NS port, Alan Third, 2021/10/17
- NS port cleanups, Po Lu, 2021/10/19
- Re: NS port cleanups, Alan Third, 2021/10/19
- Re: NS port cleanups, Po Lu, 2021/10/19
- Re: NS port cleanups, Po Lu, 2021/10/20
- Re: NS port cleanups, Po Lu, 2021/10/20
- Re: NS port cleanups, Alan Third, 2021/10/20
- Re: NS port cleanups, Po Lu, 2021/10/20
- Re: NS port cleanups, Alan Third, 2021/10/23
- Re: NS port cleanups, Po Lu, 2021/10/23
- Re: NS port cleanups,
Alan Third <=
- Re: NS port cleanups, Po Lu, 2021/10/23
- Re: NS port cleanups, Po Lu, 2021/10/23
- Re: NS port cleanups, Carlos Pita, 2021/10/23
- Re: NS port cleanups, Po Lu, 2021/10/25