summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-12-15 13:53:44 +0000
committerRichard M. Stallman <rms@gnu.org>1994-12-15 13:53:44 +0000
commitdcc98b56bc01b817688a235bf8909b344f102720 (patch)
treed9933092aab13a5d28c77d2fd9b9b14707a3cb9f /src/xterm.h
parente17dbede1b58b4c78cdf9d2406a063823cf3ea1b (diff)
downloademacs-dcc98b56bc01b817688a235bf8909b344f102720.tar.gz
(struct x_display): New field explicit_parent.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 10d376f4fd1..03e3436f9fa 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -347,7 +347,9 @@ struct x_display
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 @@ struct x_display
/* 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. */