Function arrange_client_window
fn arrange_client_window<W: WindowsApi>(
windows_api: &W,
handle: &HWND,
workspace_area: &WorkspaceArea,
index: usize,
number_of_consoles: usize,
aspect_ratio_adjustment: f64,
)Expand description
Re-sizes and re-positions the given client window based on the total number of clients, the size of the daemon console window and its index relative to the other client windows.
ยงArguments
windows_api- The Windows API implementation to usehandle- Reference the windows handle of a client console window.workspace_area- The available workspace area on the primary monitor minus the space occupied by the daemon console window.index- The index of the client in the list of all clients.number_of_consoles- The total number of active client console windows.aspect_ratio_adjustment- Theaspect_ratio_adjustmentdaemon configuration.