graphic: 0.976 x86: 0.966 KVM: 0.909 device: 0.881 vnc: 0.854 performance: 0.846 peripherals: 0.825 permissions: 0.748 kernel: 0.718 PID: 0.650 semantic: 0.644 i386: 0.639 mistranslation: 0.634 register: 0.624 architecture: 0.614 boot: 0.537 socket: 0.500 risc-v: 0.463 debug: 0.462 files: 0.450 VMM: 0.448 arm: 0.404 user-level: 0.384 assembly: 0.322 virtual: 0.285 TCG: 0.248 ppc: 0.235 network: 0.224 hypervisor: 0.191 With -display gtk,gl=on, the position of mouse does not show correctly Description of problem: With `-display gtk,gl=on`, the cursor of the mouse does not show correctly. So, it's very hard to use mouse on guest OS desktop to, say, open an application or to close it. The displayed mouse cursor is about 300x300 away from the actual mouse position. Steps to reproduce: 1. Build qemu 6.2.0-rc2 using the following `./configure` options: ``` --prefix=$HOME/.bin --target-list=x86_64-softmmu --enable-kvm --enable-vnc --enable-gtk --enable-vte --enable-xkbcommon --enable-sdl --enable-spice --enable-spice-protocol --enable-virglrenderer --enable-opengl --enable-guest-agent --enable-avx2 --enable-hax --enable-system --enable-linux-user --enable-libssh --enable-linux-aio --enable-linux-io-uring --enable-modules --enable-fuse --enable-fuse-lseek ``` 2. Run the above QEMU command with `-display gtk,gl=on`. 3. Try to open an application by clicking its icon on desktop and to close it by clicking the "X" icon. Additional information: