1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00

(x_insert_glyphs): Call window_box_left to obtain

the left x-coordinate of the area to shift.
This commit is contained in:
Gerd Moellmann 2001-02-16 12:36:34 +00:00
parent 7728f17b18
commit bf0ab8a291

View file

@ -5151,7 +5151,7 @@ x_insert_glyphs (start, len)
- shift_by_width);
/* Shift right. */
frame_x = WINDOW_TO_FRAME_PIXEL_X (w, output_cursor.x);
frame_x = window_box_left (w, updated_area) + output_cursor.x;
frame_y = WINDOW_TO_FRAME_PIXEL_Y (w, output_cursor.y);
XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), FRAME_X_WINDOW (f),
f->output_data.x->normal_gc,