You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 2.0.8 Reported for operating system, platform: macOS 10.13, x86_64
Comments on the original bug report:
On 2018-09-09 09:49:45 +0000, Julian Raschke wrote:
I use an open Mac laptop with an additional external monitor. The coordinate spaces from SDL_GetGlobalMouseState() and SDL_GetWindowPosition() match on the primary display, but not on the secondary display.
Cocoa window coordinates are vertically flipped in relation to the primary display:
On 2018-12-13 15:14:13 +0000, Giovanni Bajo wrote:
Created attachment 3545
Fix for the bug on OSX
I have the same problem: SDL_GetGlobalMouseState() is wrong on double monitor setups on OSX.
The fix suggested in this bug perfectly works. I'm attaching a patch that allows me to use SDL_GetGlobalMouseState() on double-monitor setups correctly. Please apply the fix.
On 2018-12-30 08:22:57 +0000, Giovanni Bajo wrote:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.8
Reported for operating system, platform: macOS 10.13, x86_64
Comments on the original bug report:
On 2018-09-09 09:49:45 +0000, Julian Raschke wrote:
On 2018-12-13 15:14:13 +0000, Giovanni Bajo wrote:
On 2018-12-30 08:22:57 +0000, Giovanni Bajo wrote:
On 2019-01-05 06:09:57 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: