# HG changeset patch # User Gerd Moellmann # Date 982326994 0 # Node ID 68c02499d990ad7e27b550d8642ee667d7a3dc78 # Parent c0fac212cfcc253f43054967b7d6c86183bcbd66 (x_insert_glyphs): Call window_box_left to obtain the left x-coordinate of the area to shift. diff -r c0fac212cfcc -r 68c02499d990 src/xterm.c --- a/src/xterm.c Fri Feb 16 12:36:03 2001 +0000 +++ b/src/xterm.c Fri Feb 16 12:36:34 2001 +0000 @@ -5151,7 +5151,7 @@ - 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,