aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 9616dab8648..ad2bef9f1f9 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2896,6 +2896,9 @@ x_draw_glyph_string (struct glyph_string *s)
2896static void 2896static void
2897x_shift_glyphs_for_insert (struct frame *f, int x, int y, int width, int height, int shift_by) 2897x_shift_glyphs_for_insert (struct frame *f, int x, int y, int width, int height, int shift_by)
2898{ 2898{
2899/* Never called on a GUI frame, see
2900 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00456.html
2901*/
2899 XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), FRAME_X_WINDOW (f), 2902 XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), FRAME_X_WINDOW (f),
2900 f->output_data.x->normal_gc, 2903 f->output_data.x->normal_gc,
2901 x, y, width, height, 2904 x, y, width, height,
@@ -11449,7 +11452,7 @@ static struct redisplay_interface x_redisplay_interface =
11449 x_draw_window_cursor, 11452 x_draw_window_cursor,
11450 x_draw_vertical_window_border, 11453 x_draw_vertical_window_border,
11451 x_draw_window_divider, 11454 x_draw_window_divider,
11452 x_shift_glyphs_for_insert, 11455 x_shift_glyphs_for_insert, /* Never called, se comment in function. */
11453 x_show_hourglass, 11456 x_show_hourglass,
11454 x_hide_hourglass 11457 x_hide_hourglass
11455 }; 11458 };