This PR fixes an issue where if you started komorebi without one of the monitors and then reconnected the monitor later it wasn't properly loading the data from win32-display-data.
It also fixes a bug on the komorebi-bar by making sure the bar applies the work_area_offset correctly after a monitor reconnects. Since if it is the first time the monitor is connecting it won't have the offset cached yet.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/LGUG2Z/komorebi/pull/1295
**Author:** [@alex-ds13](https://github.com/alex-ds13)
**Created:** 2/24/2025
**Status:** ✅ Merged
**Merged:** 2/24/2025
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `master` ← **Head:** `fix/monitor-reconnect-after-komorebi-start`
---
### 📝 Commits (2)
- [`da8337b`](https://github.com/LGUG2Z/komorebi/commit/da8337ba2a90eae0682324670dd099be4c3ed11a) fix(wm): properly load 1st time connected monitor
- [`d20d52b`](https://github.com/LGUG2Z/komorebi/commit/d20d52b9ef205540938d0d6eae6147c37bcf3ea7) fix(bar): apply offset when monitor reconnects
### 📊 Changes
**2 files changed** (+32 additions, -3 deletions)
<details>
<summary>View changed files</summary>
📝 `komorebi-bar/src/bar.rs` (+6 -0)
📝 `komorebi/src/monitor_reconciliator/mod.rs` (+26 -3)
</details>
### 📄 Description
This PR fixes an issue where if you started komorebi without one of the monitors and then reconnected the monitor later it wasn't properly loading the data from `win32-display-data`.
It also fixes a bug on the komorebi-bar by making sure the bar applies the `work_area_offset` correctly after a monitor reconnects. Since if it is the first time the monitor is connecting it won't have the offset cached yet.
Fixes #1294
<!--
Please follow the Conventional Commits specification.
If you need to update your PR with changes from `master`, please run `git rebase master`.
By opening this PR, you confirm that you have read and understood this project's `CONTRIBUTING.md`.
-->
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1295
Author: @alex-ds13
Created: 2/24/2025
Status: ✅ Merged
Merged: 2/24/2025
Merged by: @LGUG2Z
Base:
master← Head:fix/monitor-reconnect-after-komorebi-start📝 Commits (2)
da8337bfix(wm): properly load 1st time connected monitord20d52bfix(bar): apply offset when monitor reconnects📊 Changes
2 files changed (+32 additions, -3 deletions)
View changed files
📝
komorebi-bar/src/bar.rs(+6 -0)📝
komorebi/src/monitor_reconciliator/mod.rs(+26 -3)📄 Description
This PR fixes an issue where if you started komorebi without one of the monitors and then reconnected the monitor later it wasn't properly loading the data from
win32-display-data.It also fixes a bug on the komorebi-bar by making sure the bar applies the
work_area_offsetcorrectly after a monitor reconnects. Since if it is the first time the monitor is connecting it won't have the offset cached yet.Fixes #1294
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.