21 lines
674 B
Diff
21 lines
674 B
Diff
|
--- gnome-session/gnome-wm 2006/10/11 16:30:36 1.1
|
||
|
+++ gnome-session/gnome-wm 2006/10/11 16:35:55
|
||
|
@@ -43,6 +43,17 @@
|
||
|
IFS=":"
|
||
|
if [ -z "$WINDOW_MANAGER" ] ; then
|
||
|
if [ -z "$DEFWM" -o "x$DEFWM" = "xgnome-wm" ]; then
|
||
|
+
|
||
|
+ if /usr/bin/xdpyinfo | /usr/bin/grep -q '^vendor release number: *70000001'; then
|
||
|
+ if [ -x /usr/bin/compiz ]; then
|
||
|
+ if [ -z "$SMID" ]; then
|
||
|
+ exec /usr/bin/compiz --replace --sm-disable gconf
|
||
|
+ else
|
||
|
+ exec /usr/bin/compiz --replace --sm-client-id $SMID gconf
|
||
|
+ fi
|
||
|
+ fi
|
||
|
+ fi
|
||
|
+
|
||
|
for wm in metacity sawfish sawmill enlightenment icewm wmaker fvwm2 qvwm fvwm twm kwm ; do
|
||
|
for dir in $PATH ; do
|
||
|
if [ -x "$dir/$wm" ] ; then
|