diff options
| author | Jan D | 2015-05-17 11:30:09 +0200 |
|---|---|---|
| committer | Jan D | 2015-05-17 11:30:09 +0200 |
| commit | c9c4708ed47b18987940a71b98eb9873150d2b95 (patch) | |
| tree | 337b65994eb137afe84e051c12a52da82fd1c3d1 /src | |
| parent | 46ea93792da1db916305d50272c6465a6dde7c25 (diff) | |
| download | emacs-c9c4708ed47b18987940a71b98eb9873150d2b95.tar.gz emacs-c9c4708ed47b18987940a71b98eb9873150d2b95.zip | |
Add comment that x_shift_glyphs_for_insert is never called.
* xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface): Add
comment that this function is never called.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 5 |
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) | |||
| 2896 | static void | 2896 | static void |
| 2897 | x_shift_glyphs_for_insert (struct frame *f, int x, int y, int width, int height, int shift_by) | 2897 | x_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 | }; |