$NetBSD: patch-ad,v 1.7 2008/10/16 18:17:30 drochner Exp $ --- data/gnome-wm.orig 2008-09-22 23:21:08.000000000 +0200 +++ data/gnome-wm @@ -131,15 +131,21 @@ fi case `basename $WINDOW_MANAGER` in compiz) export LIBGL_ALWAYS_INDIRECT=1 + export INTEL_BATCH=1 gtk-window-decorator & - OPT3=glib - OPT4=gconf + if which ccsm >/dev/null; then + OPT3=ccp + else + OPT3=glib + OPT4=decoration + OPT5=gconf + fi ;; beryl) emerald & ;; esac -exec $WINDOW_MANAGER $OPT1 $OPT2 $OPT3 $OPT4 +exec $WINDOW_MANAGER $OPT1 $OPT2 $OPT3 $OPT4 $OPT5 echo "ERROR: No window manager could run!"