mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 13:22:19 +01:00
The plain data a monitor gives the workspaces it shows (padding, border width and offset, work area, offsets, floating layer behaviour), moved from komorebi-for-kde/komorebi/src/workspace.rs (the Windows struct is the same nine fields with the same derives) into komorebi-core, with the KDE doc comments and two unit tests. komorebi-core now depends on komorebi-config (for FloatingLayerBehaviour, default features off) and komorebi-layouts (for Rect); its schemars feature enables theirs. The struct derives JsonSchema under the feature, as Windows' did; a workspace skips the field when serialised and in its schema, so no schema changes. No daemon uses it yet: the next two revisions converge KDE and Windows. Verified: cargo test -p komorebi-core --features schemars (native): 15 passed, 0 failed. Not run: the daemons.