aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 544859eb89c..63435c54d82 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2252,7 +2252,6 @@ static void
2252adjust_frame_glyphs_for_frame_redisplay (f) 2252adjust_frame_glyphs_for_frame_redisplay (f)
2253 struct frame *f; 2253 struct frame *f;
2254{ 2254{
2255 struct dim ch_dim;
2256 struct dim matrix_dim; 2255 struct dim matrix_dim;
2257 int pool_changed_p; 2256 int pool_changed_p;
2258 int window_change_flags; 2257 int window_change_flags;
@@ -2261,10 +2260,6 @@ adjust_frame_glyphs_for_frame_redisplay (f)
2261 if (!FRAME_LIVE_P (f)) 2260 if (!FRAME_LIVE_P (f))
2262 return; 2261 return;
2263 2262
2264 /* Determine the smallest character in any font for F. On
2265 console windows, all characters have dimension (1, 1). */
2266 ch_dim.width = ch_dim.height = 1;
2267
2268 top_window_y = FRAME_TOP_MARGIN (f); 2263 top_window_y = FRAME_TOP_MARGIN (f);
2269 2264
2270 /* Allocate glyph pool structures if not already done. */ 2265 /* Allocate glyph pool structures if not already done. */
@@ -2353,19 +2348,10 @@ static void
2353adjust_frame_glyphs_for_window_redisplay (f) 2348adjust_frame_glyphs_for_window_redisplay (f)
2354 struct frame *f; 2349 struct frame *f;
2355{ 2350{
2356 struct dim ch_dim;
2357 struct window *w; 2351 struct window *w;
2358 2352
2359 xassert (FRAME_WINDOW_P (f) && FRAME_LIVE_P (f)); 2353 xassert (FRAME_WINDOW_P (f) && FRAME_LIVE_P (f));
2360 2354
2361 /* Get minimum sizes. */
2362#ifdef HAVE_WINDOW_SYSTEM
2363 ch_dim.width = FRAME_SMALLEST_CHAR_WIDTH (f);
2364 ch_dim.height = FRAME_SMALLEST_FONT_HEIGHT (f);
2365#else
2366 ch_dim.width = ch_dim.height = 1;
2367#endif
2368
2369 /* Allocate/reallocate window matrices. */ 2355 /* Allocate/reallocate window matrices. */
2370 allocate_matrices_for_window_redisplay (XWINDOW (FRAME_ROOT_WINDOW (f))); 2356 allocate_matrices_for_window_redisplay (XWINDOW (FRAME_ROOT_WINDOW (f)));
2371 2357