summaryrefslogtreecommitdiff
path: root/src/run-metacity.sh
diff options
context:
space:
mode:
authorrhp <rhp>2001-06-03 05:39:43 +0000
committerrhp <rhp>2001-06-03 05:39:43 +0000
commitc82a582a940e2a1cf71f53e48c27b998f4be316e (patch)
tree19d23813d3e37171534e1acd7030860e89931d0d /src/run-metacity.sh
parentce7c53bf1a65d6c136f5bfe73cef5ac800b68c0b (diff)
downloadmetacity-c82a582a940e2a1cf71f53e48c27b998f4be316e.tar.gz
metacity-c82a582a940e2a1cf71f53e48c27b998f4be316e.tar.bz2
..
Diffstat (limited to 'src/run-metacity.sh')
-rwxr-xr-xsrc/run-metacity.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/run-metacity.sh b/src/run-metacity.sh
index 3e8d68c..594cc0a 100755
--- a/src/run-metacity.sh
+++ b/src/run-metacity.sh
@@ -1,5 +1,7 @@
#! /bin/bash
-
-Xnest :1 -scrns 2 -geometry 270x270 &
+if test -z "$SCREENS"; then
+ SCREENS=2
+fi
+Xnest :1 -scrns $SCREENS -geometry 270x270 &
METACITY_UISLAVE_DIR=./uislave DISPLAY=:1 unst libtool --mode=execute gdb ./metacity
killall Xnest