]> git.eshelyaron.com Git - emacs.git/commitdiff
(struct frame): New member namebuf.
authorKarl Heuer <kwzh@gnu.org>
Wed, 19 Apr 1995 20:54:09 +0000 (20:54 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 19 Apr 1995 20:54:09 +0000 (20:54 +0000)
src/frame.h

index 0cde7162bd1072ab8e7b203c7c46b0a5b243b366..9e41ad342629344478a7691fb08b68c202f644f9 100644 (file)
@@ -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;