The 'resolution section' is not generated in the xorg.conf when using the vboxvideo driver. This allows us to perform dynamic resolution resizing

svn path=/nixos/trunk/; revision=17784
This commit is contained in:
Sander van der Burg 2009-10-13 15:16:30 +00:00
parent 4eea2539c1
commit 8457873334

View File

@ -446,7 +446,7 @@ in
Option "RandRRotation" "on"
''}
${
${if cfg.videoDriver != "vboxvideo" then
let
f = depth:
''
@ -459,6 +459,8 @@ in
EndSubSection
'';
in concatMapStrings f [8 16 24]
else
"" # The VirtualBox driver does not support dynamic resizing if resolutions are defined
}
EndSection