[ scummvm-Bugs-1838880 ] BS1: Mouse coords not being updated on button down events

SourceForge.net noreply at sourceforge.net
Mon Nov 26 19:08:45 CET 2007


Bugs item #1838880, was opened at 2007-11-26 18:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1838880&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Broken Sword 1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Oystein Eftevaag (vinterstum)
Assigned to: Nobody/Anonymous (nobody)
Summary: BS1: Mouse coords not being updated on button down events

Initial Comment:
I noticed this while working on the iPhone port.

Basically, if an EVENT_LBUTTONDOWN event is returned from pollEvent(), the click will register as having happened at the coordinates of the last EVENT_MOUSEMOVE event instead of the LBUTTONDOWN event.

As a workaround I always force a MOUSEMOVE event before any LBUTTONDOWN event, but it shouldn't be necessary IMO (and any other touchscreen backend would have to implement the same workaround).

I believe someone mentioned BS2 has the same issue, but I haven't verified that myself.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1838880&group_id=37116




More information about the Scummvm-tracker mailing list