SHA256
1
0
forked from pool/gdm
gdm/gdm-XKeepsCrashing-desktop-effects.patch

15 lines
500 B
Diff

--- config/XKeepsCrashing 2007-12-15 17:31:14.000000000 -0500
+++ config/XKeepsCrashing 2008-04-02 16:21:39.000000000 -0400
@@ -134,6 +135,11 @@
exit $?
fi
+if test `grep "DISPLAYMANAGER_XSERVER=" /etc/sysconfig/displaymanager | grep Xgl | wc -l` = "1" && test -x /usr/bin/gnome-xgl-switch; then
+ /usr/bin/gnome-xgl-switch --disable-xgl
+ MSG7=`gettextfunc "Desktop effects have been disabled."`
+fi
+
clear
# Note, dialog required, though this script could be fixed to not require it