42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
Index: data/gnome-wm
|
|
===================================================================
|
|
--- data/gnome-wm.orig
|
|
+++ data/gnome-wm
|
|
@@ -67,6 +67,12 @@ if [ -z "$WINDOW_MANAGER" ] ; then
|
|
|
|
if [ -f "$COMPIZ_ENABLED_FILE" ] ; then
|
|
KNOWN_WM="compiz-manager $KNOWN_WM"
|
|
+ else
|
|
+ # 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
|
|
|
|
OLDIFS=$IFS
|
|
Index: data/gnome-wm.desktop.in.in
|
|
===================================================================
|
|
--- data/gnome-wm.desktop.in.in (revision 5076)
|
|
+++ data/gnome-wm.desktop.in.in (working copy)
|
|
@@ -3,6 +3,7 @@
|
|
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
|
|
Index: data/Makefile.am
|
|
===================================================================
|
|
--- data/Makefile.am (revision 5076)
|
|
+++ data/Makefile.am (working copy)
|
|
@@ -25,6 +25,6 @@
|
|
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:
|