[Scummvm-tracker] [ScummVM :: Bugs] #13157: COMMON: EventManager's getMousePos() is not always reliable
ScummVM :: Bugs
trac at scummvm.org
Sun Dec 12 16:12:19 UTC 2021
#13157: COMMON: EventManager's getMousePos() is not always reliable
-------------------------+--------------------
Reporter: eriktorbjorn | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Common
Version: | Keywords:
Game: |
-------------------------+--------------------
I'm running ScummVM under Linux, with SDL Surface as the graphics mode.
The default scaler is Normal 4x.
I noticed while debugging a problem in The Case of the Serrated Scalpel
that if I started the game (in my case by loading a savegame from the
launcher) and did not do anything with the mouse, the event manager's
getMousePos() would return a position way outside of the 320x200 pixels
the game was running at.
I think, though I'm not quite sure, that the coordinates I saw were the
mouse position last updated while the ''launcher'' was running. Which of
course was running at a much higher resolution than the game. Changing the
resolution did not update the mouse position, though the initial position
of the mouse cursor was still correct so obviously it had the necessary
information from ''somewhere''.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13157>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list