Skip to content

Conversation

Susko3
Copy link
Member

@Susko3 Susko3 commented Nov 29, 2024

The window position is updated when SDL_WINDOWEVENT_MOVED is sent (which does get sent when changing to fullscreen or borderless) and SDL returns the display position when fullscreen.

  • Windows
  • macOS
  • Linux

Copy link
Member

@frenzibyte frenzibyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replying to OP, sure the SDL code for returning display bounds on SDL_GetWindowPosition is platform-agnostic, but this doesn't confirm that all platforms will correctly trigger a SDL_EVENT_WINDW_MOVED event. Requesting a double-check on other platforms, macOS is fine on my multi-monitor setup.

@frenzibyte frenzibyte requested a review from a team November 29, 2024 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants