summaryrefslogtreecommitdiff
path: root/src/run-metacity.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/run-metacity.sh')
-rwxr-xr-xsrc/run-metacity.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/run-metacity.sh b/src/run-metacity.sh
index 0919c94..db1be58 100755
--- a/src/run-metacity.sh
+++ b/src/run-metacity.sh
@@ -18,10 +18,18 @@ if test -z "$SM_CLIENTS"; then
SM_CLIENTS=0
fi
+if test -n "$EVIL_TEST"; then
+ TEST_CLIENT='./wm-tester/wm-tester --evil'
+fi
+
if test -z "$ONLY_WM"; then
Xnest -ac :1 -scrns $SCREENS -geometry 640x480 -bw 15 &
usleep 500000
+ if test -n "$TEST_CLIENT"; then
+ DISPLAY=:1 $TEST_CLIENT &
+ fi
+
if test $CLIENTS != 0; then
for I in `seq 1 $CLIENTS`; do
DISPLAY=:1 xterm -geometry 25x15 &
@@ -40,5 +48,5 @@ if test -z "$ONLY_WM"; then
fi
if test -z "$ONLY_SETUP"; then
- METACITY_DISPLAY=:1 exec unst libtool --mode=execute $DEBUG ./metacity $OPTIONS
+ METACITY_DEBUG_BUTTON_GRABS=1 METACITY_DISPLAY=:1 exec unst libtool --mode=execute $DEBUG ./metacity $OPTIONS
fi