From: Gerd Moellmann Date: Fri, 16 Feb 2001 12:36:34 +0000 (+0000) Subject: (x_insert_glyphs): Call window_box_left to obtain X-Git-Tag: emacs-pretest-21.0.99~364 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf0ab8a291322c72fa3a7d73deb9452fa45fd70f;p=emacs.git (x_insert_glyphs): Call window_box_left to obtain the left x-coordinate of the area to shift. --- 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) - 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,