Mercurial > emacs
comparison src/xterm.c @ 90553:0265187804a5
(x_set_glyph_string_clipping_exactly) [USE_FONT_BACKEND]:
Clip to src->width, etc (not src->clip_XXX).
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 28 Jul 2006 12:40:43 +0000 |
parents | f86f8e9b83a9 |
children | 7f3f771c85fa |
comparison
equal
deleted
inserted
replaced
90552:c7ca842a0366 | 90553:0265187804a5 |
---|---|
1191 | 1191 |
1192 #ifdef USE_FONT_BACKEND | 1192 #ifdef USE_FONT_BACKEND |
1193 if (enable_font_backend) | 1193 if (enable_font_backend) |
1194 { | 1194 { |
1195 r.x = dst->clip_x = src->x; | 1195 r.x = dst->clip_x = src->x; |
1196 r.width = dst->clip_width = src->clip_width; | 1196 r.width = dst->clip_width = src->width; |
1197 r.y = dst->clip_y = src->clip_y; | 1197 r.y = dst->clip_y = src->y; |
1198 r.height = dst->clip_height = src->clip_height; | 1198 r.height = dst->clip_height = src->height; |
1199 } | 1199 } |
1200 else | 1200 else |
1201 { | 1201 { |
1202 #endif /* USE_FONT_BACKEND */ | 1202 #endif /* USE_FONT_BACKEND */ |
1203 struct glyph_string *clip_head = src->clip_head; | 1203 struct glyph_string *clip_head = src->clip_head; |