Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MouseMotion relative values do not respect renderer LogicalSize #840

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

MouseMotion relative values do not respect renderer LogicalSize #840

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.0
Reported for operating system, platform: All, All

Comments on the original bug report:

On 2013-04-18 05:42:51 +0000, driedfruit wrote:

Created attachment 1119
patch to fix the issue

A trivial issue, the xrel and yrel values of MouseMotion event struct are not adjusted to renderer logical size.

Note: the attached patch is not ideal, as values like 1, when divided by 2 become 0, so it's still possible to move your mouse and have zero in xrel/yrel at the same time.

However, it makes it more consistent with the x and y values reported by the same event.

On 2013-07-12 22:15:57 +0000, Ryan C. Gordon wrote:

(Sorry if you get a lot of copies of this email, we're touching dozens of bug reports right now.)

Tagging a bunch of bugs as target-2.0.0, Priority 2.

This means we're in the final stretch for an official SDL 2.0.0 release! These are the bugs we really want to fix before shipping if humanly possible.

That being said, we don't promise to fix them because of this tag, we just want to make sure we don't forget to deal with them before we bless a final 2.0.0 release, and generally be organized about what we're aiming to ship.

Hopefully you'll hear more about this bug soon. If you have more information (including "this got fixed at some point, nevermind"), we would love to have you come add more information to the bug report when you have a moment.

Thanks!
--ryan.

On 2013-07-21 15:54:50 +0000, Sam Lantinga wrote:

Fixed, thanks!
http://hg.libsdl.org/SDL/rev/13dfa871f0af

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant