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

feat: remember monitor name instead of number #493

Open
wants to merge 2 commits into
base: netcore
Choose a base branch
from

Conversation

3096
Copy link

@3096 3096 commented Dec 15, 2024

this prevents a mismatch when the monitor number changes. for example when main display is switched around in a multi-display set up

devenv_2AJaqI23Hh

just an idea

3096 added 2 commits December 14, 2024 16:52
this prevents monitor num mismatch when the number changes. for example when main display is switched around in a multi-display set up
@kvnxiao
Copy link

kvnxiao commented Jan 7, 2025

What if you have multiple monitors of the same model with the same String name?

@3096
Copy link
Author

3096 commented Jan 7, 2025

What if you have multiple monitors of the same model with the same String name?

that a good question. ig in this quick implementation i wrote it only saves the name, so the first one (either the one as the main monitor or the one on the left will be selected i think)

i fix would be to store something unique to the monitor, if there's any unique id that can be used. otherwise it would have to append a number to that monitor. maybe i could try this by putting my single monitor into split screen mode and connect it as 2 monitors

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.

2 participants