Commit 95911c74 authored by Jan Djärv's avatar Jan Djärv
Browse files

* xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from

  clip_x/y_origin.
parent 236e9d7e
2004-06-17 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from
clip_x/y_origin.
* fns.c (string_to_multibyte): Use xmalloc/xfree instead of alloca.
* macfns.c (Fx_display_color_cells): Do not limit return value to 256.
......
......@@ -2357,8 +2357,8 @@ x_draw_image_foreground_1 (s, pixmap)
XGCValues xgcv;
xgcv.clip_mask = s->img->mask;
xgcv.clip_x_origin = x;
xgcv.clip_y_origin = y;
xgcv.clip_x_origin = x - s->slice.x;
xgcv.clip_y_origin = y - s->slice.y;
xgcv.function = GXcopy;
XChangeGC (s->display, s->gc, mask, &xgcv);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment