get_secondary_window_size

Function get_secondary_window_size 

Source
fn get_secondary_window_size(px: i32, py: i32) -> (i32, i32)
Expand description

Compute 70% of the monitor’s work area for a secondary window at (px, py). Falls back to 1200x800 if the monitor can’t be determined.