mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-19 12:13:19 +02:00
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"
|
||||
''}
|
||||
|
||||
${
|
||||
${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
|
||||
|
|
Loading…
Reference in a new issue