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

Keep screen numbers the same #12431

Open
ostrich opened this issue Jun 2, 2024 · 0 comments
Open

Keep screen numbers the same #12431

ostrich opened this issue Jun 2, 2024 · 0 comments

Comments

@ostrich
Copy link

ostrich commented Jun 2, 2024

OS: Arch Linux
MAME version: 0.266
Other software: KDE Plasma, Wayland

I have four monitors connected to my desktop on which I use MAME. I frequently disconnect one of them to connect it to a laptop. This changes the detected screen index values. E.g., when my rightmost monitor is connected to my desktop, it is detected as screen0 and MAME launches on it. When it is disconnected from my desktop, my second to rightmost monitor is detected as screen0 and MAME launches on it. In mame.ini, screen is set to auto. Because the screen index values change depending on which monitors are connected, I can't hardcode a screen value in mame.ini.

Ideally, MAME would detect which monitor is set as primary by the OS and set it as screen0. Alternatively (or maybe in addition), it would be nice to be able to identify screens by some static identifier, like how disks in Linux can be identified by UUID rather than /dev/sd* node.

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