diff src/xterm.h @ 10171:3c022e99daab

(struct x_display): New field explicit_parent.
author Richard M. Stallman <rms@gnu.org>
date Thu, 15 Dec 1994 13:53:44 +0000
parents 5ecf054a8c8f
children b804533a1254
line wrap: on
line diff
--- a/src/xterm.h	Thu Dec 15 13:49:51 1994 +0000
+++ b/src/xterm.h	Thu Dec 15 13:53:44 1994 +0000
@@ -347,7 +347,9 @@
   Window icon_desc;
 
   /* The X window that is the parent of this X window.
-     Usually but not always RootWindow.  */
+     Usually this is a window that was made by the window manager,
+     but it can be the root window, and it can be explicitly specified
+     (see the explicit_parent field, below).  */
   Window parent_desc;
 
 #ifdef USE_X_TOOLKIT
@@ -439,6 +441,10 @@
 
   /* This is the Emacs structure for the X display this frame is on.  */
   struct x_display_info *display_info;
+
+  /* Nonzero means our parent is another application's window
+     and was explicitly specified.  */
+  char explicit_parent;
 };
 
 /* Get at the computed faces of an X window frame.  */