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

Fix/monitor disconnect #1255

Merged
merged 25 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
3d7843e
chore(release): v0.1.34
LGUG2Z Feb 19, 2025
b189b0b
fix(wm): properly store tile state when caching ws
alex-ds13 Jan 16, 2025
699f830
fix(wm): store config on workspace
alex-ds13 Jan 16, 2025
d211d84
fix(wm): correctly use the display_index_preferences
alex-ds13 Jan 21, 2025
d69ff5b
fix(wm): cache monitor configs for unloaded monitors
alex-ds13 Jan 23, 2025
78930fb
fix(wm): don't store empty layout_rules on monitor cache
alex-ds13 Jan 23, 2025
638a43f
fix(wm): restore orphaned containers
alex-ds13 Jan 23, 2025
66ce028
fix(wm): skip workspace_config on workspace serde
alex-ds13 Jan 28, 2025
ab163dc
fix(wm): use serial numbers along device ids
alex-ds13 Jan 28, 2025
69d8d84
fix(wm): handle serial id on `load_monitor_information`
alex-ds13 Jan 29, 2025
8381983
fix(wm): remove workspace_rules from disconnected monitors
alex-ds13 Jan 29, 2025
a9bf2c5
feat(wm): add monitor_usr_idx_map to window_manager
alex-ds13 Jan 29, 2025
3083c01
fix(bar): handle monitor disconnect/reconnect
alex-ds13 Jan 29, 2025
9908adf
fix(wm): make Monitor fields public
alex-ds13 Jan 31, 2025
7f2a3f5
fix(wm): correctly update usr idx map when there is no index preferences
alex-ds13 Jan 31, 2025
291cac0
feat(wm): keep track of known_hwnds on WindowManager
alex-ds13 Jan 31, 2025
cd9ed12
fix(wm): cache monitor state instead of config
alex-ds13 Jan 31, 2025
bf12fa5
fix(bar): restore and reposition after monitor reconnect
alex-ds13 Jan 30, 2025
b2e68d9
fix(wm): don't panic if state isn't up to date
alex-ds13 Jan 31, 2025
a235442
fix(bar): check monitor connection on all notifications
alex-ds13 Feb 8, 2025
c34339d
fix(wm): check for monitor changes when resuming from suspended/locked
alex-ds13 Feb 13, 2025
75d7355
fix(wm): increase monitor_reconciliator channel bound
alex-ds13 Feb 7, 2025
fe95d64
chore(deps): update win32-display-data rev
alex-ds13 Feb 19, 2025
a45df2c
fix(monitor_reconciliator): register more events
alex-ds13 Feb 19, 2025
705c309
fix(bar): handle monitor (dis/re)connect properly
alex-ds13 Feb 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 52 additions & 59 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
paste = "1"
sysinfo = "0.33"
uds_windows = "1"
win32-display-data = { git = "https://github.com/LGUG2Z/win32-display-data", rev = "75286e77c068a89d12adcd6404c9c4874a60acf5" }
win32-display-data = { git = "https://github.com/LGUG2Z/win32-display-data", rev = "3ff53fb6f53ec3ec4f9941a0409fba5e36decc46" }
windows-implement = { version = "0.58" }
windows-interface = { version = "0.58" }
windows-core = { version = "0.58" }
Expand All @@ -45,6 +45,7 @@ version = "0.58"
features = [
"implement",
"Foundation_Numerics",
"Win32_Devices",
"Win32_System_Com",
"Win32_UI_Shell_Common", # for IObjectArray
"Win32_Foundation",
Expand All @@ -55,6 +56,7 @@ features = [
"Win32_Graphics_Direct2D_Common",
"Win32_Graphics_Dxgi_Common",
"Win32_System_LibraryLoader",
"Win32_System_Power",
"Win32_System_RemoteDesktop",
"Win32_System_Threading",
"Win32_UI_Accessibility",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ every `WindowManagerEvent` and `SocketMessage` handled by `komorebi` in a Rust c
Below is a simple example of how to use `komorebi-client` in a basic Rust application.

```rust
// komorebi-client = { git = "https://github.com/LGUG2Z/komorebi", tag = "v0.1.33"}
// komorebi-client = { git = "https://github.com/LGUG2Z/komorebi", tag = "v0.1.34"}

use anyhow::Result;
use komorebi_client::Notification;
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/flip-layout.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# flip-layout

```
Flip the layout on the focused workspace (BSP only)
Flip the layout on the focused workspace

Usage: komorebic.exe flip-layout <AXIS>

Expand Down
12 changes: 12 additions & 0 deletions docs/cli/focus-monitor-at-cursor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# focus-monitor-at-cursor

```
Focus the monitor at the current cursor location

Usage: komorebic.exe focus-monitor-at-cursor

Options:
-h, --help
Print help

```
Loading