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:
parent
4eea2539c1
commit
8457873334
@ -446,7 +446,7 @@ in
|
|||||||
Option "RandRRotation" "on"
|
Option "RandRRotation" "on"
|
||||||
''}
|
''}
|
||||||
|
|
||||||
${
|
${if cfg.videoDriver != "vboxvideo" then
|
||||||
let
|
let
|
||||||
f = depth:
|
f = depth:
|
||||||
''
|
''
|
||||||
@ -459,6 +459,8 @@ in
|
|||||||
EndSubSection
|
EndSubSection
|
||||||
'';
|
'';
|
||||||
in concatMapStrings f [8 16 24]
|
in concatMapStrings f [8 16 24]
|
||||||
|
else
|
||||||
|
"" # The VirtualBox driver does not support dynamic resizing if resolutions are defined
|
||||||
}
|
}
|
||||||
|
|
||||||
EndSection
|
EndSection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user