aboutsummaryrefslogtreecommitdiffstats
path: root/doc/info/mds.texinfo
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-11 01:03:58 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-11 01:03:58 +0200
commit0807f61d2fb40a25f2a0c388a7acbbcac84bcd7f (patch)
treef04c904b757d5d18d7b551ec112e05cffef588f5 /doc/info/mds.texinfo
parentinfo: specs: rat cursors: default: arrow direction (diff)
downloadmds-0807f61d2fb40a25f2a0c388a7acbbcac84bcd7f.tar.gz
mds-0807f61d2fb40a25f2a0c388a7acbbcac84bcd7f.tar.bz2
mds-0807f61d2fb40a25f2a0c388a7acbbcac84bcd7f.tar.xz
info: nesting applications + the real display server
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/info/mds.texinfo')
-rw-r--r--doc/info/mds.texinfo38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo
index ed0ce29..1a8c23e 100644
--- a/doc/info/mds.texinfo
+++ b/doc/info/mds.texinfo
@@ -6343,6 +6343,8 @@ max speed ((hold down time - delay) / time to max speed)^(1 + curve)
@menu
* Rat Cursors:: Rat cursor specifications.
+* Nesting Applications:: Specifications for nesting applications.
+* The Real Display Server:: Identifying the real display server.
@end menu
@@ -7518,6 +7520,42 @@ XXXXXXXXXX XXXXXXXXXX
+@node Nesting Applications
+@section Nesting Applications
+
+Applications that want to embed another other
+application within it, should create a socket
+and start the other application with the
+environment variable @env{MDS_EMBED} set to
+the windows ID of the socket that the application
+should be embedded in.
+
+All @command{mds} applications must be aware
+of the environment variable @env{MDS_EMBED}.
+The application may choose not to embed itself
+in the announced socket, however it should have
+good reason for not doing this.
+
+All @command{mds} application must unset the
+environment variable @env{MDS_EMBED} before
+it starts any other program.
+
+@comment TODO
+@c How do we solve this for compatibility with X, Wayland and Mir?
+
+
+
+@node The Real Display Server
+@section The Real Display Server
+
+The environment variable @env{REAL_DISPLAY},
+should be set with the value @code{MDS_DISPLAY},
+if and only if @command{mds} is started
+as a display server and not as a compatibility
+layer.
+
+
+
@node Discussion
@chapter Discussion