Mercurial > emacs
comparison src/xterm.c @ 40248:2c3b3b0a9c60
(x_insert_glyphs): Remove unused variables `real_end' and `real_start'.
(x_draw_image_foreground): Remove unused variables `mask' and `xgcv'.
(glyph_rect): Remove unused variable `area'.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Wed, 24 Oct 2001 10:28:38 +0000 |
parents | 9175d0c189f4 |
children | 98531a716f48 |
comparison
equal
deleted
inserted
replaced
40247:c824be0e27e2 | 40248:2c3b3b0a9c60 |
---|---|
4056 XCopyArea (s->display, s->img->pixmap, s->window, s->gc, | 4056 XCopyArea (s->display, s->img->pixmap, s->window, s->gc, |
4057 r.x - x, r.y - y, r.width, r.height, r.x, r.y); | 4057 r.x - x, r.y - y, r.width, r.height, r.x, r.y); |
4058 } | 4058 } |
4059 else | 4059 else |
4060 { | 4060 { |
4061 unsigned long mask = GCClipXOrigin | GCClipYOrigin | GCFunction; | |
4062 XGCValues xgcv; | |
4063 XRectangle clip_rect, image_rect, r; | 4061 XRectangle clip_rect, image_rect, r; |
4064 | 4062 |
4065 x_get_glyph_string_clip_rect (s, &clip_rect); | 4063 x_get_glyph_string_clip_rect (s, &clip_rect); |
4066 image_rect.x = x; | 4064 image_rect.x = x; |
4067 image_rect.y = y; | 4065 image_rect.y = y; |
5296 struct frame *f; | 5294 struct frame *f; |
5297 struct window *w; | 5295 struct window *w; |
5298 int line_height, shift_by_width, shifted_region_width; | 5296 int line_height, shift_by_width, shifted_region_width; |
5299 struct glyph_row *row; | 5297 struct glyph_row *row; |
5300 struct glyph *glyph; | 5298 struct glyph *glyph; |
5301 int frame_x, frame_y, hpos, real_start, real_end; | 5299 int frame_x, frame_y, hpos; |
5302 | 5300 |
5303 xassert (updated_window && updated_row); | 5301 xassert (updated_window && updated_row); |
5304 BLOCK_INPUT; | 5302 BLOCK_INPUT; |
5305 w = updated_window; | 5303 w = updated_window; |
5306 f = XFRAME (WINDOW_FRAME (w)); | 5304 f = XFRAME (WINDOW_FRAME (w)); |
7893 if (!NILP (window)) | 7891 if (!NILP (window)) |
7894 { | 7892 { |
7895 struct window *w = XWINDOW (window); | 7893 struct window *w = XWINDOW (window); |
7896 struct glyph_row *r = MATRIX_FIRST_TEXT_ROW (w->current_matrix); | 7894 struct glyph_row *r = MATRIX_FIRST_TEXT_ROW (w->current_matrix); |
7897 struct glyph_row *end = r + w->current_matrix->nrows - 1; | 7895 struct glyph_row *end = r + w->current_matrix->nrows - 1; |
7898 int area; | |
7899 | 7896 |
7900 frame_to_window_pixel_xy (w, &x, &y); | 7897 frame_to_window_pixel_xy (w, &x, &y); |
7901 | 7898 |
7902 for (; !found && r < end && r->enabled_p; ++r) | 7899 for (; !found && r < end && r->enabled_p; ++r) |
7903 if (r->y >= y) | 7900 if (r->y >= y) |