[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master a421f40d87: Synchronize NS fringe bitmap code with X
From: |
Po Lu |
Subject: |
master a421f40d87: Synchronize NS fringe bitmap code with X |
Date: |
Thu, 3 Mar 2022 20:06:36 -0500 (EST) |
branch: master
commit a421f40d8765262b49d89804e96757671456d97d
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Synchronize NS fringe bitmap code with X
* nsterm.m (ns_draw_fringe_bitmap): Redefine bitmap if it does
not already exist.
---
src/nsterm.m | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/nsterm.m b/src/nsterm.m
index aba26ef758..639f8781e4 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -2916,6 +2916,13 @@ ns_draw_fringe_bitmap (struct window *w, struct
glyph_row *row,
}
NSBezierPath *bmp = [fringe_bmp objectForKey:[NSNumber
numberWithInt:p->which]];
+
+ if (bmp == nil)
+ {
+ gui_define_fringe_bitmap (f, p->which);
+ bmp = [fringe_bmp objectForKey: [NSNumber numberWithInt: p->which]];
+ }
+
if (bmp)
{
NSAffineTransform *transform = [NSAffineTransform transform];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master a421f40d87: Synchronize NS fringe bitmap code with X,
Po Lu <=