mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Add multiscreen mode (#473)
Enable multiscreen with max_outputs for the virtio-vga if user configures max_outputs in the .conf file
This commit is contained in:
parent
e8b1b7cb3e
commit
7ce97daf27
1 changed files with 5 additions and 0 deletions
5
quickemu
5
quickemu
|
@ -776,6 +776,11 @@ function vm_boot() {
|
|||
ati-vga|cirrus-vga|VGA) VIDEO="${VIDEO},vgamem_mb=64";;
|
||||
esac
|
||||
|
||||
# Configure multiscreen if max_outputs was provided in the .conf file
|
||||
if [ -v max_outputs ]; then
|
||||
VIDEO="${VIDEO},max_outputs=${max_outputs}"
|
||||
fi
|
||||
|
||||
# Add fullscreen options
|
||||
VIDEO="${VIDEO} ${FULLSCREEN}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue