■ ■ ■ ■ ■ ■
alacritty/src/display/mod.rs
| skipped 469 lines |
470 | 470 | | } |
471 | 471 | | |
472 | 472 | | // Set resize increments for the newly created window. |
473 | | - | window.set_resize_increments(PhysicalSize::new(cell_width, cell_height)); |
| 473 | + | if config.window.resize_increments { |
| 474 | + | window.set_resize_increments(PhysicalSize::new(cell_width, cell_height)); |
| 475 | + | } |
474 | 476 | | |
475 | 477 | | window.set_visible(true); |
476 | 478 | | |
| skipped 169 lines |
646 | 648 | | new_size.reserve_lines(message_bar_lines + search_lines); |
647 | 649 | | |
648 | 650 | | // Update resize increments. |
649 | | - | self.window.set_resize_increments(PhysicalSize::new(cell_width, cell_height)); |
| 651 | + | if config.window.resize_increments { |
| 652 | + | self.window.set_resize_increments(PhysicalSize::new(cell_width, cell_height)); |
| 653 | + | } |
650 | 654 | | |
651 | 655 | | // Resize PTY. |
652 | 656 | | pty_resize_handle.on_resize(new_size.into()); |
| skipped 991 lines |