File gnome-session-compiz-as-default-wm.patch of Package gnome-session

Index: data/Makefile.am
===================================================================
--- data/Makefile.am.orig
+++ data/Makefile.am
@@ -25,7 +25,7 @@ schemas_DATA = $(schemas_in_files:.schem
 bin_SCRIPTS = gnome-wm
 
 settingsdir = $(datadir)/applications
-settings_in_files = session-properties.desktop.in
+settings_in_files = gnome-wm.desktop.in session-properties.desktop.in
 settings_DATA = $(settings_in_files:.desktop.in=.desktop)
 
 install-data-local:
Index: data/gnome-wm
===================================================================
--- data/gnome-wm.orig
+++ data/gnome-wm
@@ -73,6 +73,16 @@ if [ -z "$WINDOW_MANAGER" ] ; then
 
   if [ -f "$COMPIZ_ENABLED_FILE" ] ; then
     KNOWN_WM="compiz-manager $KNOWN_WM"
+# We don't do compiz by default for now -- this will be reenabled in the next
+# development cycle.
+#  else
+#      if [ ! -f "$HOME/.config/compiz/disable-compiz" ] ; then
+#         # Check to see if hardware is supported by compiz, to have it as default WM if so
+#         CM_DRY=yes compiz-manager > /dev/null 2>&1
+#         if test $? -eq 0; then
+#	     KNOWN_WM="compiz-manager $KNOWN_WM"
+#         fi
+#      fi
   fi
 
   OLDIFS=$IFS
Index: data/gnome-wm.desktop.in.in
===================================================================
--- data/gnome-wm.desktop.in.in.orig
+++ data/gnome-wm.desktop.in.in
@@ -3,6 +3,7 @@ Type=Application
 Encoding=UTF-8
 _Name=Window Manager
 Exec=gnome-wm
+NoDisplay=true
 X-GNOME-Autostart-Phase=WindowManager
 X-GNOME-Provides=windowmanager
 X-GNOME-Autostart-Notify=true
openSUSE Build Service is sponsored by