summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-08-19 03:54:46 +0000
committerJim Blandy <jimb@redhat.com>1992-08-19 03:54:46 +0000
commitfea425b9ddc3534a501a86de782ecabf406ebb47 (patch)
tree6bf3f918ced5456561952138dd895a76fafaef94 /src/frame.h
parent529ba5d03e88b434f941d038577653a24d43f539 (diff)
downloademacs-fea425b9ddc3534a501a86de782ecabf406ebb47.tar.gz
entered into RCS
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h12
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)