# HG changeset patch # User Gerd Moellmann # Date 936054865 0 # Node ID 8569b5f63527663c09d35a9827715c0e485e38c5 # Parent 293b78b9ff60fc7ec5d7aff1075c9cc56c408a29 (FRAME_WINDOW_WIDTH_ARG): Add in FRAME_FLAGS_AREA_COLS once instead of twice. (FRAME_LEFT_FLAGS_AREA_WIDTH): New. diff -r 293b78b9ff60 -r 8569b5f63527 src/frame.h --- a/src/frame.h Mon Aug 30 23:14:23 1999 +0000 +++ b/src/frame.h Mon Aug 30 23:14:25 1999 +0000 @@ -511,7 +511,7 @@ #define FRAME_WINDOW_WIDTH_ARG(f, width) \ ((width) \ + FRAME_SCROLL_BAR_WIDTH (f) \ - + 2 * FRAME_FLAGS_AREA_COLS (f)) + + FRAME_FLAGS_AREA_COLS (f)) /* Maximum + 1 legitimate value for FRAME_CURSOR_X. */ #define FRAME_CURSOR_X_LIMIT(f) \ @@ -660,17 +660,18 @@ (FRAME_WINDOW_P (F) ? FRAME_DEFAULT_FONT_WIDTH (F) : 1) /* Pixel width of areas used to display truncation marks, continuation - marks, overlay arrows. This is 0 for terminal frames. Other - terminal headers must define FRAME_X_TRUNC_WIDTH. */ + marks, overlay arrows. This is 0 for terminal frames. */ #ifdef HAVE_WINDOW_SYSTEM #define FRAME_FLAGS_AREA_COLS(F) \ (FRAME_WINDOW_P ((F)) ? FRAME_X_FLAGS_AREA_COLS ((F)) : 0) -#define FRAME_FLAGS_AREA_WIDTH(F) \ - (FRAME_FLAGS_AREA_COLS ((F)) * CANON_X_UNIT ((F))) +#define FRAME_FLAGS_AREA_WIDTH(F) FRAME_X_FLAGS_AREA_WIDTH (F) +#define FRAME_LEFT_FLAGS_AREA_WIDTH(F) FRAME_X_LEFT_FLAGS_AREA_WIDTH (F) + #else #define FRAME_FLAGS_AREA_WIDTH(F) 0 #define FRAME_FLAGS_AREA_COLS(F) 0 +#define FRAME_LEFT_FLAGS_AREA_WIDTH(F) 0 #endif