* Get rid of some unnecessary xorg.conf statements.

svn path=/nixos/trunk/; revision=10096
This commit is contained in:
Eelco Dolstra 2008-01-07 23:12:02 +00:00
parent c71e8dc314
commit a2c1282ebc
2 changed files with 8 additions and 21 deletions

View File

@ -14,11 +14,7 @@ EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "extmod"
Load "freetype"
Load "int10"
Load "type1"
Load "vbe"
@moduleSection@
@extraModules@

View File

@ -130,18 +130,18 @@ let
fi
done
export moduleSection=""
export screen=""
export device=""
export extensions=""
#if only my gf were this dirty
if test "${toString videoDriver}" == "nvidia"; then
export moduleSection='
Load "glx"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
'
export screen='
Option "AddARGBGLXVisuals" "true"
Option "DisableGLXRootClipping" "true"
Option "RandRRotation" "on"
'
export device='
@ -153,15 +153,6 @@ let
export extensions='
Option "Composite" "Enable"
'
else
export moduleSection='
Load "glx"
Load "dri"
'
export screen=
export device=
export extensions=
fi
if [ "${toString videoDriver}" = i810 ]; then
@ -230,7 +221,7 @@ let
# Start Compiz and the GTK-style window decorator.
env LD_LIBRARY_PATH=${xorg.libX11}/lib:${xorg.libXext}/lib:/usr/lib/
${pkgs.compiz}/bin/compiz gconf ${renderingFlag}&
${pkgs.compiz}/bin/compiz gconf ${renderingFlag} &
${pkgs.compiz}/bin/gtk-window-decorator --sync &
''