From 9ee18180cf71bcc8ec42bc60e61124b2ffd64f44 Mon Sep 17 00:00:00 2001 From: Cory Forsstrom Date: Mon, 11 May 2020 13:39:33 -0700 Subject: [PATCH] respect quick_resize option on monitor change --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index f3fbb3d..467875a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -138,11 +138,13 @@ fn main() { let mut grid = GRID.lock().unwrap(); let active_window = grid.active_window; + let quick_resize = grid.quick_resize; *grid = Grid::from(&config); grid.grid_window = grid_window; grid.active_window = active_window; + grid.quick_resize = quick_resize; grid.reposition(); }