mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-18 22:58:34 +01:00
The two komorebi_layout.rs were identical except for the position of one `pub use`. The widget moves to crates/komorebi-bar-core/src/widgets/komorebi_layout.rs together with the KomorebiLayoutExt trait; the shells re-export the module. Its three komorebi_client calls go through the platform seam: new hook `BarPlatform::send_komorebi_message` (next to send_komorebi_batch), which both os.rs implement as `komorebi_client::send_message`, so each bar sends exactly what it sent. DefaultLayout and SocketMessage come from komorebi-layouts and komorebi-protocol (what komorebi_client re-exports). About 290 lines per bar are gone. Verified: native bar-core tests 3+6; schema harness macOS and Windows byte-identical (3,774 / 9,091 lines); Windows clippy -D warnings --locked clean; macOS fake-CC check --locked 0 errors (files touched first). Not run: the bars; clicking the layout widget is unverified on both.