Expand description
MRU (Most Recently Used) window tracking
Tracks current and previous windows to enable proper Alt+Tab behavior. Quick Alt+Tab switches to the previous window by ID lookup.
Uses file locking to prevent race conditions during concurrent access.
Structs§
- MruState
- MRU state containing current and previous window IDs
Functions§
- get_
current_ window - Returns the current window ID.
- get_
previous_ window - Returns the previous window ID for quick Alt+Tab.
- load_
mru_ state - Loads MRU state with shared lock for consistent reads.
- reorder_
for_ mru - Reorders windows placing current window at the end.
- save_
activated_ window - Saves MRU state when activating a window.