Diff

Differences From Artifact [e9ed71ebc3]:

To Artifact [28fd027b88]:


2767
2768
2769
2770
2771
2772
2773

2774
2775
2776
2777
2778
2779
2780
                was_zoomed = 0;
                if (cfg.resize_action == RESIZE_TERM) {
                    w = (width-cfg.window_border*2) / font_width;
                    if (w < 1) w = 1;
                    h = (height-cfg.window_border*2) / font_height;
                    if (h < 1) h = 1;
                    term_size(term, h, w, cfg.savelines);

                } else if (cfg.resize_action != RESIZE_FONT)
                    reset_window(2);
                else
                    reset_window(0);
            } else if (wParam == SIZE_MINIMIZED) {
                /* do nothing */
	    } else if (cfg.resize_action != RESIZE_FONT && !is_alt_pressed()) {







>







2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
                was_zoomed = 0;
                if (cfg.resize_action == RESIZE_TERM) {
                    w = (width-cfg.window_border*2) / font_width;
                    if (w < 1) w = 1;
                    h = (height-cfg.window_border*2) / font_height;
                    if (h < 1) h = 1;
                    term_size(term, h, w, cfg.savelines);
                    reset_window(2);
                } else if (cfg.resize_action != RESIZE_FONT)
                    reset_window(2);
                else
                    reset_window(0);
            } else if (wParam == SIZE_MINIMIZED) {
                /* do nothing */
	    } else if (cfg.resize_action != RESIZE_FONT && !is_alt_pressed()) {