/[emacs]/emacs/src/dispnew.c
ViewVC logotype

Diff of /emacs/src/dispnew.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.318.2.1 by handa, Mon Sep 8 12:48:10 2003 UTC revision 1.318.2.2 by fx, Mon Sep 29 18:01:37 2003 UTC
# Line 2252  static void Line 2252  static void
2252  adjust_frame_glyphs_for_frame_redisplay (f)  adjust_frame_glyphs_for_frame_redisplay (f)
2253       struct frame *f;       struct frame *f;
2254  {  {
   struct dim ch_dim;  
2255    struct dim matrix_dim;    struct dim matrix_dim;
2256    int pool_changed_p;    int pool_changed_p;
2257    int window_change_flags;    int window_change_flags;
# Line 2261  adjust_frame_glyphs_for_frame_redisplay Line 2260  adjust_frame_glyphs_for_frame_redisplay
2260    if (!FRAME_LIVE_P (f))    if (!FRAME_LIVE_P (f))
2261      return;      return;
2262    
   /* Determine the smallest character in any font for F.  On  
      console windows, all characters have dimension (1, 1).  */  
   ch_dim.width = ch_dim.height = 1;  
   
2263    top_window_y = FRAME_TOP_MARGIN (f);    top_window_y = FRAME_TOP_MARGIN (f);
2264    
2265    /* Allocate glyph pool structures if not already done.  */    /* Allocate glyph pool structures if not already done.  */
# Line 2353  static void Line 2348  static void
2348  adjust_frame_glyphs_for_window_redisplay (f)  adjust_frame_glyphs_for_window_redisplay (f)
2349       struct frame *f;       struct frame *f;
2350  {  {
   struct dim ch_dim;  
2351    struct window *w;    struct window *w;
2352    
2353    xassert (FRAME_WINDOW_P (f) && FRAME_LIVE_P (f));    xassert (FRAME_WINDOW_P (f) && FRAME_LIVE_P (f));
2354    
   /* Get minimum sizes.  */  
 #ifdef HAVE_WINDOW_SYSTEM  
   ch_dim.width = FRAME_SMALLEST_CHAR_WIDTH (f);  
   ch_dim.height = FRAME_SMALLEST_FONT_HEIGHT (f);  
 #else  
   ch_dim.width = ch_dim.height = 1;  
 #endif  
   
2355    /* Allocate/reallocate window matrices.  */    /* Allocate/reallocate window matrices.  */
2356    allocate_matrices_for_window_redisplay (XWINDOW (FRAME_ROOT_WINDOW (f)));    allocate_matrices_for_window_redisplay (XWINDOW (FRAME_ROOT_WINDOW (f)));
2357    

Legend:
Removed from v.1.318.2.1  
changed lines
  Added in v.1.318.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26