summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-10-11 18:42:06 +0300
committerEli Zaretskii <eliz@gnu.org>2013-10-11 18:42:06 +0300
commitabe020201356dca6792d48add69029658b1df0b0 (patch)
tree48f0fc84ac14c7eb131ac3ef8da01383eabd684e /src/dispnew.c
parent9428abbf51a05346caf1315130411af1811ba0f7 (diff)
Support frame dimension changes while TTY menus are displayed.
src/xdisp.c (deep_copy_glyph_row): Handle the case that FROM and TO have different dimensions. src/dispnew.c (fill_up_frame_row_with_spaces): Now has external visibility. src/dispextern.h (fill_up_frame_row_with_spaces): Add prototype. Fixes: debbugs:15575
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index d01de18533..3c0fda0b74 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -77,7 +77,6 @@ static int required_matrix_height (struct window *);
static int required_matrix_width (struct window *);
static void change_frame_size_1 (struct frame *, int, int, bool, bool, bool);
static void increment_row_positions (struct glyph_row *, ptrdiff_t, ptrdiff_t);
-static void fill_up_frame_row_with_spaces (struct glyph_row *, int);
static void build_frame_matrix_from_window_tree (struct glyph_matrix *,
struct window *);
static void build_frame_matrix_from_leaf_window (struct glyph_matrix *,
@@ -2503,7 +2502,7 @@ fill_up_glyph_row_area_with_spaces (struct glyph_row *row, int area)
/* Add spaces to the end of ROW in a frame matrix until index UPTO is
reached. In frame matrices only one area, TEXT_AREA, is used. */
-static void
+void
fill_up_frame_row_with_spaces (struct glyph_row *row, int upto)
{
int i = row->used[TEXT_AREA];