changeset 11493:7a15a07093c2

(struct frame): New member namebuf.
author Karl Heuer <kwzh@gnu.org>
date Wed, 19 Apr 1995 20:54:09 +0000
parents 2e09c796bf70
children 20c2172831b8
files src/frame.h
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.h	Wed Apr 19 06:37:49 1995 +0000
+++ b/src/frame.h	Wed Apr 19 20:54:09 1995 +0000
@@ -48,7 +48,8 @@
      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 @@
   /* 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;