mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 11:29:46 +03:00
pmb.qemu.run: only set show-cursor when display!=none (MR 2309)
This commit is contained in:
parent
1c3572dee2
commit
a7f288634f
1 changed files with 2 additions and 2 deletions
|
@ -237,11 +237,11 @@ def command_qemu(args: PmbArgs, config: Config, arch: Arch, img_path, img_path_2
|
||||||
|
|
||||||
display = args.qemu_display
|
display = args.qemu_display
|
||||||
if display != "none":
|
if display != "none":
|
||||||
display += ",gl=" + ("on" if args.qemu_gl else "off")
|
display += ",show-cursor=on,gl=" + ("on" if args.qemu_gl else "off")
|
||||||
|
|
||||||
# Separate -show-cursor option is deprecated. If your host qemu fails here,
|
# Separate -show-cursor option is deprecated. If your host qemu fails here,
|
||||||
# it's old (#1995).
|
# it's old (#1995).
|
||||||
command += ["-display", f"{display},show-cursor=on"]
|
command += ["-display", f"{display}"]
|
||||||
|
|
||||||
# Audio support
|
# Audio support
|
||||||
if args.qemu_audio:
|
if args.qemu_audio:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue