diff options
author | Jim Blandy <jimb@redhat.com> | 1992-08-19 03:54:46 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-08-19 03:54:46 +0000 |
commit | fea425b9ddc3534a501a86de782ecabf406ebb47 (patch) | |
tree | 6bf3f918ced5456561952138dd895a76fafaef94 /src/frame.h | |
parent | 529ba5d03e88b434f941d038577653a24d43f539 (diff) | |
download | emacs-fea425b9ddc3534a501a86de782ecabf406ebb47.tar.gz |
entered into RCS
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/frame.h b/src/frame.h index 8b46e591a20..1a87e6c618d 100644 --- a/src/frame.h +++ b/src/frame.h @@ -73,7 +73,7 @@ struct frame /* New height and width for pending size change. 0 if no change pending. */ int new_height, new_width; - /* Name of this frame: a Lisp string. */ + /* Name of this frame: a Lisp string. See also `explicit_name'. */ Lisp_Object name; /* The frame which should recieve keystrokes that occur in this @@ -143,6 +143,12 @@ struct frame /* True if frame's root window can't be split. */ char no_split; + /* If this is set, then Emacs won't change the frame name to indicate + the current buffer, etcetera. If the user explicitly sets the frame + name, this gets set. If the user sets the name to Qnil, this is + cleared. */ + char explicit_name; + /* Storage for messages to this frame. */ char *message_buf; @@ -285,8 +291,8 @@ extern int message_buf_print; #define FRAME_NO_SPLIT_P(f) 0 #define FRAME_WANTS_MODELINE_P(f) 1 #define FRAME_ICONIFIED_P(f) 0 -#define FRAME_MINIBUF_WINDOW(f) (minibuf_window) -#define FRAME_ROOT_WINDOW(f) (XWINDOW (minibuf_window)->prev) +#define FRAME_MINIBUF_WINDOW(f) (the_only_frame.root_window) +#define FRAME_ROOT_WINDOW(f) (the_only_frame.root_window) #define FRAME_SELECTED_WINDOW(f) (selected_window) #define SET_GLYPHS_FRAME(glyphs,frame) do ; while (0) #define FRAME_INSERT_COST(frame) (the_only_frame.insert_line_cost) |