Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
95911c74
Commit
95911c74
authored
Jun 17, 2004
by
Jan Djärv
Browse files
* xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from
clip_x/y_origin.
parent
236e9d7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/ChangeLog
src/ChangeLog
+3
-0
src/xterm.c
src/xterm.c
+2
-2
No files found.
src/ChangeLog
View file @
95911c74
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.
...
...
src/xterm.c
View file @
95911c74
...
...
@@ -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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment