mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +00:00
Meta: Use virtio-vga instead of virtio-gpu if using multiple monitors
This commit is contained in:
parent
5b909a94e7
commit
44174a44bd
Notes:
sideshowbarker
2024-07-18 11:28:55 +09:00
Author: https://github.com/ccapitalK
Commit: 44174a44bd
Pull-request: https://github.com/SerenityOS/serenity/pull/8254
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ installed_major_version=$("$SERENITY_QEMU_BIN" -version | head -n 1 | sed -E 's/
|
||||||
SERENITY_SCREENS="${SERENITY_SCREENS:-1}"
|
SERENITY_SCREENS="${SERENITY_SCREENS:-1}"
|
||||||
SERENITY_QEMU_DISPLAY_BACKEND="${SERENITY_QEMU_DISPLAY_BACKEND:-sdl,gl=on}"
|
SERENITY_QEMU_DISPLAY_BACKEND="${SERENITY_QEMU_DISPLAY_BACKEND:-sdl,gl=on}"
|
||||||
if [ "$SERENITY_SCREENS" -gt 1 ]; then
|
if [ "$SERENITY_SCREENS" -gt 1 ]; then
|
||||||
SERENITY_QEMU_DISPLAY_DEVICE="virtio-gpu,max_outputs=$SERENITY_SCREENS "
|
SERENITY_QEMU_DISPLAY_DEVICE="virtio-vga,max_outputs=$SERENITY_SCREENS "
|
||||||
# QEMU appears to always relay absolute mouse coordinates relative to the screen that the mouse is
|
# QEMU appears to always relay absolute mouse coordinates relative to the screen that the mouse is
|
||||||
# pointed to, without any way for us to know what screen it was. So, when dealing with multiple
|
# pointed to, without any way for us to know what screen it was. So, when dealing with multiple
|
||||||
# displays force using relative coordinates only
|
# displays force using relative coordinates only
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue