Fix mouse offset issues with VNC in Qemu. Fixes #2335

pull/2353/head
grossmj 4 months ago
parent 218522b08c
commit f7eb2492d9
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD

@ -2426,6 +2426,9 @@ class QemuVM(BaseNode):
command.extend(shlex.split(additional_options))
except ValueError as e:
raise QemuError("Invalid additional options: {} error {}".format(additional_options, e))
# avoiding mouse offset (see https://github.com/GNS3/gns3-server/issues/2335)
if self._console_type == "vnc":
command.extend(['-machine', 'usb=on', '-device', 'usb-tablet'])
return command
def __json__(self):

Loading…
Cancel
Save