Skip to content

Commit

Permalink
respect quick_resize option on monitor change
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkah committed May 11, 2020
1 parent 21afc74 commit 9ee1818
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 9ee1818

Please sign in to comment.