Skip to content

Conversation

vantm
Copy link

@vantm vantm commented Sep 27, 2025

Closes #1130

When reconnecting to new displays (for example, turning a monitor off and on again, or using Windows + P to switch between extended and single monitor modes), Glaze tries to add the new monitor and bind it according to the config. However, the add_monitor function not only creates a new monitor but also binds workspaces to it. This is incorrect, because the workspaces end up bound to unsorted monitors, causing incorrect index numbers. The fix is to move the binding logic into a new method and only bind workspaces to monitors after they have been sorted.

@github-project-automation github-project-automation bot moved this to 📬 Needs triage in glazewm Sep 27, 2025
@vantm
Copy link
Author

vantm commented Sep 27, 2025

Need #1184 to be merged in order to reproduce this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📬 Needs triage

Development

Successfully merging this pull request may close these issues.

[Bug] inconsistancy with connecting and disconnecting external monitors

1 participant