[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NS port cleanups
From: |
Po Lu |
Subject: |
Re: NS port cleanups |
Date: |
Sat, 23 Oct 2021 19:20:28 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Alan Third <alan@idiocy.org> writes:
> 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);
> }
Thanks, applied.
I'll split the patch up and let you know.
- NS port cleanups, (continued)
- 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, 2021/10/23
- Re: NS port cleanups,
Po Lu <=
- 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