# HG changeset patch # User Martin Rudalics # Date 1209636884 0 # Node ID befafb2d092851390739af95d67465f9daceb3e6 # Parent 5b9bb0c0273a581c4560ecad3e98819658bae184 (struct window): Replace field too_small_ok by field resize_proportionally. diff -r 5b9bb0c0273a -r befafb2d0928 src/window.h --- a/src/window.h Thu May 01 10:12:50 2008 +0000 +++ b/src/window.h Thu May 01 10:14:44 2008 +0000 @@ -222,8 +222,9 @@ /* If redisplay in this window goes beyond this buffer position, must run the redisplay-end-trigger-hook. */ Lisp_Object redisplay_end_trigger; - /* Non-nil means don't delete this window for becoming "too small". */ - Lisp_Object too_small_ok; + /* Non-nil means resizing windows will attempt to resize this window + proportionally. */ + Lisp_Object resize_proportionally; /* Original window height and top before mini-window was enlarged. */ @@ -337,20 +338,18 @@ #define WINDOW_FRAME_LINE_HEIGHT(W) \ (FRAME_LINE_HEIGHT (WINDOW_XFRAME ((W)))) - -/* Return the frame width in canonical column units. +/* Return the width of window W in canonical column units. This includes scroll bars and fringes. */ #define WINDOW_TOTAL_COLS(W) \ (XFASTINT ((W)->total_cols)) -/* Return the frame height in canonical line units. +/* Return the height of window W in canonical line units. This includes header and mode lines, if any. */ #define WINDOW_TOTAL_LINES(W) \ (XFASTINT ((W)->total_lines)) - /* Return the total pixel width of window W. */ #define WINDOW_TOTAL_WIDTH(W) \