diff options
| author | Gerd Moellmann | 2001-02-16 12:36:34 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-02-16 12:36:34 +0000 |
| commit | bf0ab8a291322c72fa3a7d73deb9452fa45fd70f (patch) | |
| tree | 9e15b9d642530d31ac7a8f3c189855f7571af0bd /src | |
| parent | 7728f17b18f1d6034931d3bf196d87aaca3084e7 (diff) | |
| download | emacs-bf0ab8a291322c72fa3a7d73deb9452fa45fd70f.tar.gz emacs-bf0ab8a291322c72fa3a7d73deb9452fa45fd70f.zip | |
(x_insert_glyphs): Call window_box_left to obtain
the left x-coordinate of the area to shift.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index a20acf026d4..0a62e1b7616 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -5151,7 +5151,7 @@ x_insert_glyphs (start, len) | |||
| 5151 | - shift_by_width); | 5151 | - shift_by_width); |
| 5152 | 5152 | ||
| 5153 | /* Shift right. */ | 5153 | /* Shift right. */ |
| 5154 | frame_x = WINDOW_TO_FRAME_PIXEL_X (w, output_cursor.x); | 5154 | frame_x = window_box_left (w, updated_area) + output_cursor.x; |
| 5155 | frame_y = WINDOW_TO_FRAME_PIXEL_Y (w, output_cursor.y); | 5155 | frame_y = WINDOW_TO_FRAME_PIXEL_Y (w, output_cursor.y); |
| 5156 | XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), FRAME_X_WINDOW (f), | 5156 | XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), FRAME_X_WINDOW (f), |
| 5157 | f->output_data.x->normal_gc, | 5157 | f->output_data.x->normal_gc, |