x86: 0.953 architecture: 0.881 device: 0.792 graphic: 0.782 kernel: 0.778 i386: 0.764 files: 0.747 socket: 0.708 ppc: 0.695 performance: 0.681 user-level: 0.666 hypervisor: 0.657 network: 0.655 register: 0.619 virtual: 0.616 semantic: 0.578 KVM: 0.574 peripherals: 0.569 PID: 0.568 vnc: 0.547 permissions: 0.544 debug: 0.482 mistranslation: 0.465 arm: 0.456 assembly: 0.450 boot: 0.445 risc-v: 0.428 VMM: 0.375 TCG: 0.280 -------------------- user-level: 0.963 x86: 0.923 hypervisor: 0.907 virtual: 0.905 TCG: 0.042 debug: 0.028 files: 0.013 network: 0.007 PID: 0.006 kernel: 0.006 device: 0.005 socket: 0.005 architecture: 0.003 semantic: 0.003 peripherals: 0.003 KVM: 0.003 graphic: 0.003 performance: 0.002 risc-v: 0.002 VMM: 0.002 register: 0.002 permissions: 0.002 vnc: 0.001 boot: 0.001 assembly: 0.001 ppc: 0.001 arm: 0.001 i386: 0.001 mistranslation: 0.000 disable automatic mouse grabbing I'm using QEMU 5.0.0 on a Gentoo Linux host system. Guest is an Arch Linux system. I'd like to disable automatic mouse grabbing when the QEMU window is focused. I would prefer for QEMU to grab the mouse only after a click. I use the i3 window manager on my host system. Suppose I'm in workspace 1, while the QEMU window is in workspace 2. In order to switch to workspace 2, I need to press the "Win+2" key combination ("Win" is the Windows key). The problem is that the character "2" (from "Win+2") will get transferred to the guest system. For example, if I have a text editor opened under the guest system, the character "2" will be pasted inside the document I'm working on, which is pretty annoying. I would like instead to press the "Win+2" key combination and then explicitely click on the QEMU window with the mouse before grabbing it. Command line: qemu-system-x86_64 -drive file=/home/fturco/qemu/arch.img,media=disk,index=0,if=virtio,format=raw,cache=none -cpu host -m 2G -k it -enable-kvm -net nic,model=virtio -net user -vga virtio -display sdl -usb -rtc base=utc -soundhw ac97 -monitor stdio -no-quit Possibly similar bug: https://bugs.launchpad.net/qemu/+bug/906864 FYI: The gtk ui has support for that. Try "-display gtk,grab-on-hover=off". You can also toggle it in the "view" menu. Thanks for the info, but I prefer to continue using the SDL interface, if possible. Is there a plan to add the grab-on-hover=off option to the SDL interface? This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/75