mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-14 12:53:43 +01:00
window_manager.rs: three WindowsApi::center_cursor_in_rect calls become backend().center_cursor_in(..) and WindowsApi::disable_focus_follows_mouse becomes backend().set_focus_follows_mouse(false); workspace.rs: the WindowsApi::restore_window that unmaximizes a window becomes backend().unminimize(..) (the same ShowWindow call, after an IsWindow check). backend-switch.md now lists every WindowsApi call left in window_manager, workspace and monitor and why each cannot be switched without changing an error, a default or a flag (foreground_window, cursor_pos, focus on the desktop window, position_window flags, start-up enumeration, monitor fields). BEHAVIOUR: a dead window is skipped by the unminimize. e2e gate needed: commands, focus_follows_mouse, maximizing, workspaces. Verified: Windows clippy -D warnings via tools/fast-check PASS; e2e not run.