summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h
index 0cde7162bd1..9e41ad34262 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -48,7 +48,8 @@ struct frame
Only EMACS_INT values can be intermixed with them.
That ensures they are all aligned normally. */
- /* Name of this frame: a Lisp string. See also `explicit_name'. */
+ /* Name of this frame: a Lisp string. See also `explicit_name'
+ and `namebuf'. */
Lisp_Object name;
/* The frame which should receive keystrokes that occur in this
@@ -117,6 +118,10 @@ struct frame
/* Beyond here, there should be no more Lisp_Object components. */
+ /* A buffer to hold the frame's name. We can't use the Lisp string's
+ pointer (`name', above) because it might get relocated. */
+ char *namebuf;
+
/* glyphs as they appear on the frame */
struct frame_glyphs *current_glyphs;