[hatari-devel] Mouse pointer not reset when loading save state from menu |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Mouse pointer not reset when loading save state from menu
- From: Charlie Nolan <funnyman3595@xxxxxxxxx>
- Date: Thu, 14 Jun 2012 00:32:22 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=qOawhJuPH4s89WBRKh25THme/ILqTBgAfWkwFPltuNo=; b=K+VPuF0Rgqg2I8GccLE55oTVcHp0IEMabSmQJvijq16VzQil/pIQGAQdwMp35qwpFE hfSPTR9D80EAReZo2jbHSJb+s9sEbRU4wCteGpeutpIljLqBninhXS6T+rnHIkQ4y45x ERmBrZhj6AnVDXAtdeb25hz1pMBwmLVN76Zgfgj+KYJwjHdNdcfzxyHbwPkjgD/1AJg4 0CZui6zmHnvzDTRPDZcjoo1Rt7ytcNMNo8JuxkbD038UHQcTd0enOCAOKEZexKaodWUx 4AXe9k67sVmFw2Qz+j3/FdJQqC7vNcZtfed6x373e4aRsfaHUdpo4oBHq3khwVuUUtKn JvLw==
When loading a save state from the F12 menu, Hatari does not reset the
mouse pointer as it does when leaving the F12 menu normally. This
causes the host mouse cursor to become visible and not be aligned
properly with the emulated mouse, potentially rendering large segments
of the emulated screen inaccessible.
Entering mouse lock mode forces the host cursor to remain within the
Hatari window, but does not solve the underlying problem: the host
cursor will still be visible and desynchronized from the emulated
cursor. Entering fullscreen mode has similar effects.
To fix this issue, the mouse must be returned to non-menu mode when
loading a save state from the menu. Additionally, it would be
advisable to re-hide the host cursor when entering mouse lock or
fullscreen mode, and to prevent the host cursor from reaching the
window edge in mouse lock and fullscreen modes so that it can continue
to move even if it loses its alignment with the emulated cursor.
-FunnyMan3595 (Charlie Nolan)