Mercurial > emacs
changeset 31147:a158ff61b113
(FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH)
(FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is
a graphical frame.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 24 Aug 2000 11:05:49 +0000 |
parents | 8779f864ca44 |
children | b06672496fad |
files | src/frame.h |
diffstat | 1 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.h Thu Aug 24 11:05:18 2000 +0000 +++ b/src/frame.h Thu Aug 24 11:05:49 2000 +0000 @@ -707,16 +707,21 @@ 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_X_FLAGS_AREA_WIDTH (F) -#define FRAME_LEFT_FLAGS_AREA_WIDTH(F) FRAME_X_LEFT_FLAGS_AREA_WIDTH (F) + (FRAME_WINDOW_P (F) ? FRAME_X_FLAGS_AREA_COLS (F) : 0) +#define FRAME_FLAGS_AREA_WIDTH(F) \ + (FRAME_WINDOW_P (F) ? FRAME_X_FLAGS_AREA_WIDTH (F) : 0) +#define FRAME_LEFT_FLAGS_AREA_WIDTH(F) \ + (FRAME_WINDOW_P (F) ? FRAME_X_LEFT_FLAGS_AREA_WIDTH (F) : 0) -#else +#else /* not HAVE_WINDOW_SYSTEM */ + #define FRAME_FLAGS_AREA_WIDTH(F) 0 #define FRAME_FLAGS_AREA_COLS(F) 0 #define FRAME_LEFT_FLAGS_AREA_WIDTH(F) 0 -#endif + +#endif /* not HAVE_WINDOW_SYSTEM */