mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-17 06:11:21 +01:00
The macOS corner is a property of the monitor that the workspace is on, which the monitor gives the workspace when it updates its globals; macOS has no field for it in the shared WorkspaceGlobals and keeps it in its WorkspacePlatform::State, so the hooks need the workspace. hide_spot(&Workspace<P>) and hide_spot_on_display(&Workspace<P>), called with self where they were called with &self.globals; KDE and Windows do not override them (they return (), the default), so nothing changes there; the test stub's two overrides follow. Verified: native cargo test -p komorebi-core 26 passed; fast-check Windows clippy -D warnings, KDE check + lib tests and macOS fake-CC type-check PASS. Not verified: any run. Gates: none beyond the previous revision's (this changes no call a daemon makes).