From 886c06a8149914e0b432b99ab40a757bdf67b94d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 21 Sep 2014 16:52:45 +0200 Subject: we do not need mds-iclipboard and mds-idrag, introducing metadisplay servers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- TODO | 4 ++-- doc/info/mds.texinfo | 59 +++++++++++++++++++++++++++++++++------------------- 2 files changed, 40 insertions(+), 23 deletions(-) diff --git a/TODO b/TODO index 08e84f3..0659653 100644 --- a/TODO +++ b/TODO @@ -14,8 +14,8 @@ Extra servers: kbdbind ratbind gestures dcvs decorator tile stack workspace tray retro-crt kbd2rat multikey - iclipboard keystick idrag posmem - nest mds + keystick posmem nest mds + meta Missing commands: diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo index ee953f8..42616e4 100644 --- a/doc/info/mds.texinfo +++ b/doc/info/mds.texinfo @@ -1218,9 +1218,7 @@ actually a server. * mds-registry:: The @command{mds-registry} server. * mds-vt:: The @command{mds-vt} server. * mds-clipboard:: The @command{mds-clipboard} server. -* mds-iclipboard:: The @command{mds-iclipboard} server. * mds-drag:: The @command{mds-drag} server. -* mds-idrag:: The @command{mds-idrag} server. * mds-kkbd:: The @command{mds-kkbd} server. * mds-kkbdrate:: The @command{mds-kkbdrate} server. * mds-kbd:: The @command{mds-kbd} server. @@ -1251,6 +1249,7 @@ actually a server. * mds-dri:: The @command{mds-dri} server. * mds-fb:: The @command{mds-fb} server. * mds-mds:: The @command{mds-mds} server. +* mds-meta:: The @command{mds-meta} server. * mds-seat:: The @command{mds-seat} server. * mds-nest:: The @command{mds-nest} server. * mds-host:: The @command{mds-host} server. @@ -1334,16 +1333,6 @@ time or when its originator closes. -@node mds-iclipboard -@section @command{mds-iclipboard} - -@command{mds-iclipboard} is an alternative to -@command{mds-clipboard} that can be used to share -clipboard between multiple display servers -instances. - - - @node mds-drag @section @command{mds-drag} @@ -1352,15 +1341,6 @@ drag-and-drop support. -@node mds-idrag -@section @command{mds-idrag} - -@command{mds-idrag} is an alternative to -@command{mds-drag} that lets you drag and drop -between display server instances. - - - @node mds-kkbd @section @command{mds-kkbd} @@ -1735,6 +1715,43 @@ It creates a window that emulates a monitor. +@node mds-meta +@section @command{mds-meta} + +@command{mds-meta} is a meta-display server. +It creates or joins a named meta-display server, +and creates and alternative values for +@env{MDS_DISPLAY}. Any server connecting to +this alternative @env{MDS_DISPLAY} connects +to this meta-display server. This can be used +to make servers shared between display server +instances. + +@command{mds-meta} uses the environment variable +@env{MDS_METADISPLAY} to acquire the name of the +meta-display server instance it should join or +create. If @env{MDS_METADISPLAY} has not been set +it is treated as having an empty string for its +value which is a valid meta-display server +instance name. + +@command{mds-meta} works by connecting to the +running display server instance, the display, +and create a new display server instance, the +meta-display. Messages passed via the meta-display's +socket is forward to the display, and messages +passed to via the display to @command{mds-meta} +is send to the appropriate server. @command{mds-meta} +manages interception in the same way as +@command{mds-server} and @command{mds-remote}. + +If @command{mds-meta} creates a new meta-display, +rather than joining an existing meta-display, it +will spawn @file{~/.mdsmetainitrc} to let you +start the shared servers. + + + @node mds-seat @section @command{mds-seat} -- cgit v1.2.3-70-g09d2