summaryrefslogtreecommitdiff
path: root/src/run-metacity.sh
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-02-08 04:44:56 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-02-08 04:44:56 +0000
commit43b67afc41b55340bc358ef4ddf271b965b72244 (patch)
tree92a4f18d0b4f574ee0f8fceb05a828fe174e309e /src/run-metacity.sh
parentd91715dc8fa93ce5c4338836516d2b57e3d75261 (diff)
downloadmetacity-43b67afc41b55340bc358ef4ddf271b965b72244.tar.gz
metacity-43b67afc41b55340bc358ef4ddf271b965b72244.tar.bz2
if DEMO_TEST is set then run the window demo
2002-02-07 Havoc Pennington <hp@pobox.com> * src/run-metacity.sh: if DEMO_TEST is set then run the window demo * src/tools/metacity-window-demo.c: Create an app with all the semantic window types, for testing and for designing themes.
Diffstat (limited to 'src/run-metacity.sh')
-rwxr-xr-xsrc/run-metacity.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/run-metacity.sh b/src/run-metacity.sh
index e1485ce..1e842e3 100755
--- a/src/run-metacity.sh
+++ b/src/run-metacity.sh
@@ -34,6 +34,10 @@ if test -n "$ICON_TEST"; then
TEST_CLIENT='./wm-tester/wm-tester --icon-windows'
fi
+if test -n "$DEMO_TEST"; then
+ TEST_CLIENT='./tools/metacity-window-demo'
+fi
+
if test -z "$ONLY_WM"; then
echo "Launching Xnest"
Xnest -ac $XNEST_DISPLAY -scrns $SCREENS -geometry 640x480 -bw 15 &