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

[SDL2] Start OpenTTD on the display where the mouse cursor is #8572

Merged
merged 1 commit into from Jan 14, 2021

Conversation

frosch123
Copy link
Member

Motivation / Problem

Regular programs start on the display where the mouse cursor is.
SDL2 is aware of multi-display setups, but seems to default to screen 0.

Description

By default the SDL2 video driver will now create the window on the display where the mouse cursor is.
For control freaks and debugging there is a driver parameter to force a particular display.

Limitations

No idea whether this applies to other OS as well, or whether other video drivers have similar issues.

Checklist for review

N/A

…play on start. By default use the display where the mouse cursor is.
Copy link
Member

@LordAro LordAro left a comment

Choose a reason for hiding this comment

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

LGTM

@frosch123 frosch123 merged commit 0e62a39 into OpenTTD:master Jan 14, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants