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(hyprland): add mirrorOf member of Monitor #305

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

Conversation

Dr0med4r
Copy link
Contributor

@Dr0med4r Dr0med4r commented Mar 2, 2025

For this, it is necessary to use 'monitors all' instead of 'monitors.'
If this is not done, the 'monitoradded' event will add an empty monitor, and the 'monitorremoved' event will fail with a null error.
This fixes issues with mirrored displays, but now mirrored monitors are listed under 'monitors' (which they previously were, but not fully and I don't know if this is intended behaviour).

For this it is necessary to use "monitors all" and not "monitors"
if this is not done the monitoradded event will add an empty monitor and
the monitorremoved event will fail with a null error.
This is null if the monitor is not mirrored or mirrorOf is not yet
implemented else it is the monitor mirrored.
@Dr0med4r
Copy link
Contributor Author

Dr0med4r commented Mar 3, 2025

Should there be a distinction between "hyprland before 0.45" and "not mirrored"?
If so how?

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