defer_windows

Function defer_windows 

fn defer_windows<W: WindowsApi>(
    windows_api: &W,
    clients: &[Client],
    daemon_handle: &HWND,
)
Expand description

Move all given windows to the foreground.

Restores minimized windows. If a window handle no longer points to a valid window, it is skipped. The daemon window is deferred last and receives focus.

ยงArguments

  • windows_api - The Windows API implementation to use
  • clients - A thread safe mapping from the number a client console window was launched at in relation to the other client windows and the clients console window handle.
  • daemon_handle - Handle to the daemon console window.