projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da7689
)
Make Haiku stipple display slightly faster
author
Po Lu
<luangruo@yahoo.com>
Sun, 15 May 2022 12:43:54 +0000
(12:43 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 15 May 2022 12:44:59 +0000
(12:44 +0000)
* src/haikuterm.c (haiku_draw_stipple_background): Draw tiled
bitmap to end of stipple instead of the end of the frame.
src/haikuterm.c
patch
|
blob
|
history
diff --git
a/src/haikuterm.c
b/src/haikuterm.c
index df0cd82a39e3e59b197154ea46bd5457ef6cccb2..ed8040edc9125178415c145d8275f498909af884 100644
(file)
--- a/
src/haikuterm.c
+++ b/
src/haikuterm.c
@@
-1090,8
+1090,7
@@
haiku_draw_stipple_background (struct glyph_string *s, struct face *face,
haiku_clip_to_string (s);
BView_ClipToRect (view, x, y, width, height);
BView_DrawBitmapTiled (view, rec->img, 0, 0, -1, -1,
- 0, 0, FRAME_PIXEL_WIDTH (s->f),
- FRAME_PIXEL_HEIGHT (s->f));
+ 0, 0, x + width, y + height);
BView_EndClip (view);
}