Commit aa5b8e15 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH)

(FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is
a graphical frame.
parent 280d7721
2000-08-24 Gerd Moellmann <gerd@gnu.org>
* frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH)
(FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is
a graphical frame.
2000-08-24 Kenichi Handa <handa@etl.go.jp>
* minibuf.c (do_completion): Always use compare-string, not
......
......@@ -707,16 +707,21 @@ extern Lisp_Object selected_frame;
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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment