Absolute mouse coordinates wrong

List,

I just signed up and It’s my first posting to this list. I want to
say thanks for SDL and sorry if this question has been brought up
before.

I am having a problem with SDL (1.2.8) on OS X (10.4.5) though. I’m
reading the absolute mouse position with SDL_GetMouseState. On one
computer, the mouse coordinates returned from the function are
relative to the UPPER left corner of the window. On another computer
the mouse coords are relative to the LOWER left. As far as I can
tell, everything is the same. Anybody have any ideas? Which is the
correct behaviour? Anything that I missed when searching with google?

Thanks,
Tod.

I am having a problem with SDL (1.2.8) on OS X (10.4.5) though. I’m
reading the absolute mouse position with SDL_GetMouseState. On one
computer, the mouse coordinates returned from the function are
relative to the UPPER left corner of the window. On another computer
the mouse coords are relative to the LOWER left. As far as I can
tell, everything is the same. Anybody have any ideas? Which is the
correct behaviour? Anything that I missed when searching with google?

SDL’s mouse coordinates should be relative to the upper left of the window.

Can you check out the latest CVS to see if this is fixed?
http://www.libsdl.org/cvs.php

Thanks!
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment