summaryrefslogtreecommitdiff
path: root/src/run-metacity.sh
diff options
context:
space:
mode:
authorrhp <rhp>2001-07-27 04:22:18 +0000
committerrhp <rhp>2001-07-27 04:22:18 +0000
commitb6d07e70a409ffc9d2cbb4b0525571b1fb7c0df0 (patch)
treec014df0fb213abef0b0a67d87eb2682574aef1e4 /src/run-metacity.sh
parent5c2ac489f1489cbe10462fc5a9a11fdb63000ffe (diff)
downloadmetacity-b6d07e70a409ffc9d2cbb4b0525571b1fb7c0df0.tar.gz
metacity-b6d07e70a409ffc9d2cbb4b0525571b1fb7c0df0.tar.bz2
...
Diffstat (limited to 'src/run-metacity.sh')
-rwxr-xr-xsrc/run-metacity.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/run-metacity.sh b/src/run-metacity.sh
index b2266dc..a1aa050 100755
--- a/src/run-metacity.sh
+++ b/src/run-metacity.sh
@@ -14,6 +14,10 @@ if test -z "$CLIENTS"; then
CLIENTS=0
fi
+if test -z "$SM_CLIENTS"; then
+ SM_CLIENTS=0
+fi
+
if test -z "$ONLY_WM"; then
Xnest -ac :1 -scrns $SCREENS -geometry 640x480 -bw 15 &
usleep 500000
@@ -23,6 +27,12 @@ if test -z "$ONLY_WM"; then
DISPLAY=:1 xterm -geometry 25x15 &
done
fi
+
+ if test $SM_CLIENTS != 0; then
+ for I in `seq 1 $SM_CLIENTS`; do
+ DISPLAY=:1 gnome-terminal --geometry 25x15 &
+ done
+ fi
usleep 50000