|
| From: | BALATON Zoltan |
| Subject: | Re: Mouse pointer warping with gtk display |
| Date: | Thu, 27 Jan 2022 22:55:54 +0100 (CET) |
Hello, On Thu, 27 Jan 2022, Howard Spoelstra wrote:
While I can reproduce the issue you report when running morphos with gtk, I cannot currently reproduce with the Mac OS/OSX guests I tested on Linux host. Both mac99 (adb mouse and kbd) and mac99,via=pmu (usb mouse and kbd) keep the mouse inside the guest window with both sdl and gtk.
Interesting. I remember people seeing this with MacOS in the past but did some more testing now and indeed it does not seem to happen with MacOS and default VGA. But I could reproduce it with MorphOS on mac99.via=pmu and -device ati-vga but not with -vga none -device sm501 so maybe it's related to ati-vga then. (Booting MacOS with ati-vga to cross check is a bit complicated so I could not test that now and don't have a graphical Linux guest for mac99 either at the moment.)
I don't see how the display emulation can break mouse handling though. The ati-vga,guest_hwcursor=true option seems to help so it's something with host side mouse only. Maybe it's related to dpy_mouse_set() that we call when HW cursor regs are written but I have to check how this works in ati-vga because I've forgotten it by now. The strange thing is that the pointer seems to warp even when the mouse is not grabbed that I think should not happen but it just disappears when I click on the window and the mouse is grabbed. And it only happens with gtk, not with sdl. Some clues would still be welcome to get to the cause of this.
Regards, BALATON Zoltan
| [Prev in Thread] | Current Thread | [Next in Thread] |