Skip to content

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