2007-03-12 01:55:48 +01:00
|
|
|
Index: gnome-session/gnome-wm
|
|
|
|
===================================================================
|
|
|
|
--- gnome-session/gnome-wm.orig
|
|
|
|
+++ gnome-session/gnome-wm
|
|
|
|
@@ -55,6 +55,17 @@ if [ -z "$WINDOW_MANAGER" ] ; then
|
|
|
|
|
|
|
|
OLDIFS=$IFS
|
2006-12-27 12:49:58 +01:00
|
|
|
if [ -z "$DEFWM" -o "x$DEFWM" = "xgnome-wm" ]; then
|
2007-03-12 01:55:48 +01:00
|
|
|
+
|
|
|
|
+ if /usr/bin/xdpyinfo | /usr/bin/grep -q '^vendor release number: *70000001'; then
|
|
|
|
+ if [ -x /usr/bin/compiz ]; then
|
|
|
|
+ if [ -z "$SMID" ]; then
|
2007-08-03 23:54:09 +02:00
|
|
|
+ exec /usr/bin/compiz --replace --sm-disable glib gconf
|
2007-03-12 01:55:48 +01:00
|
|
|
+ else
|
2007-08-03 23:54:09 +02:00
|
|
|
+ exec /usr/bin/compiz --replace --sm-client-id $SMID glib gconf
|
2007-03-12 01:55:48 +01:00
|
|
|
+ fi
|
|
|
|
+ fi
|
|
|
|
+ fi
|
|
|
|
+
|
|
|
|
for wm in $KNOWN_WM ; do
|
|
|
|
IFS=":"
|
2006-12-27 12:49:58 +01:00
|
|
|
for dir in $PATH ; do
|