summaryrefslogtreecommitdiff
path: root/src/run-metacity.sh
diff options
context:
space:
mode:
authorrhp <rhp>2001-06-11 05:47:51 +0000
committerrhp <rhp>2001-06-11 05:47:51 +0000
commit99f53856f6153ac88eb6e4698928d4b59910cfbb (patch)
treea35193d21bb8a4ced5af9153fb8fd4bed5bee094 /src/run-metacity.sh
parentd46d6830b5d1bb8bdbd3d6fdcdf014cbc210aaa1 (diff)
downloadmetacity-99f53856f6153ac88eb6e4698928d4b59910cfbb.tar.gz
metacity-99f53856f6153ac88eb6e4698928d4b59910cfbb.tar.bz2
...
Diffstat (limited to 'src/run-metacity.sh')
-rwxr-xr-xsrc/run-metacity.sh22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/run-metacity.sh b/src/run-metacity.sh
index 9f150c4..abf28b3 100755
--- a/src/run-metacity.sh
+++ b/src/run-metacity.sh
@@ -13,15 +13,19 @@ if test -z "$CLIENTS"; then
CLIENTS=0
fi
-Xnest :1 -scrns $SCREENS -geometry 640x480 -bw 15 &
-usleep 50000
+if test -z "$ONLY_WM"; then
+ 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
+ if test $CLIENTS != 0; then
+ for I in `seq 1 $CLIENTS`; do
+ DISPLAY=:1 xterm -geometry 25x15 &
+ done
+ fi
+
+ DISPLAY=:1 xsetroot -solid royalblue3
fi
-DISPLAY=:1 xsetroot -solid royalblue3
-METACITY_UISLAVE_DIR=./uislave DISPLAY=:1 unst libtool --mode=execute $DEBUG ./metacity
-killall Xnest
+if test -z "$ONLY_SETUP"; then
+ METACITY_UISLAVE_DIR=./uislave DISPLAY=:1 unst libtool --mode=execute $DEBUG ./metacity
+fi