diff options
author | rhp <rhp> | 2001-06-03 18:33:59 +0000 |
---|---|---|
committer | rhp <rhp> | 2001-06-03 18:33:59 +0000 |
commit | 4ae250ae97ca0a6c549e80490884b7c2225df2c6 (patch) | |
tree | 650afee3ab049d6100e3ee730df5a93b35cc22f4 /src/run-metacity.sh | |
parent | 11fde3a11a88d8e13d6e6c99d8012c60b8ad6547 (diff) | |
download | metacity-4ae250ae97ca0a6c549e80490884b7c2225df2c6.tar.gz metacity-4ae250ae97ca0a6c549e80490884b7c2225df2c6.tar.bz2 |
...
Diffstat (limited to 'src/run-metacity.sh')
-rwxr-xr-x | src/run-metacity.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/run-metacity.sh b/src/run-metacity.sh index 594cc0a..f1ed6af 100755 --- a/src/run-metacity.sh +++ b/src/run-metacity.sh @@ -2,6 +2,13 @@ if test -z "$SCREENS"; then SCREENS=2 fi + +if test "$DEBUG" = none; then + DEBUG= +elif test -z "$DEBUG"; then + DEBUG=gdb +fi + Xnest :1 -scrns $SCREENS -geometry 270x270 & -METACITY_UISLAVE_DIR=./uislave DISPLAY=:1 unst libtool --mode=execute gdb ./metacity +METACITY_UISLAVE_DIR=./uislave DISPLAY=:1 unst libtool --mode=execute $DEBUG ./metacity killall Xnest |