summaryrefslogtreecommitdiff
path: root/src/run-metacity.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/run-metacity.sh')
-rwxr-xr-xsrc/run-metacity.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/run-metacity.sh b/src/run-metacity.sh
index 24e0489..9f150c4 100755
--- a/src/run-metacity.sh
+++ b/src/run-metacity.sh
@@ -9,7 +9,19 @@ elif test -z "$DEBUG"; then
DEBUG=gdb
fi
+if test -z "$CLIENTS"; then
+ CLIENTS=0
+fi
+
Xnest :1 -scrns $SCREENS -geometry 640x480 -bw 15 &
usleep 50000
+
+if test $CLIENTS != 0; then
+ for I in `seq 1 $CLIENTS`; do
+ DISPLAY=:1 xterm -geometry 25x15 &
+ done
+fi
+
+DISPLAY=:1 xsetroot -solid royalblue3
METACITY_UISLAVE_DIR=./uislave DISPLAY=:1 unst libtool --mode=execute $DEBUG ./metacity
killall Xnest