From a7f288634f1b12169240ce00b151e9f53883e33c Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Tue, 7 May 2024 13:04:23 -0700 Subject: [PATCH] pmb.qemu.run: only set show-cursor when display!=none (MR 2309) --- pmb/qemu/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pmb/qemu/run.py b/pmb/qemu/run.py index 8588aefa..212d78cc 100644 --- a/pmb/qemu/run.py +++ b/pmb/qemu/run.py @@ -237,11 +237,11 @@ def command_qemu(args: PmbArgs, config: Config, arch: Arch, img_path, img_path_2 display = args.qemu_display 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, # it's old (#1995). - command += ["-display", f"{display},show-cursor=on"] + command += ["-display", f"{display}"] # Audio support if args.qemu_audio: