From 608e3ee0aa0ddc96a3e22163f1a9044124a6ed64 Mon Sep 17 00:00:00 2001 From: electricmessiah <3809405+electricmessiah@users.noreply.github.com> Date: Wed, 8 Jul 2026 16:25:57 -0400 Subject: [PATCH] Fix: preserve vertical tab width across minimize/restore --- src/platform/win32.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/platform/win32.rs b/src/platform/win32.rs index db63363..cde583d 100644 --- a/src/platform/win32.rs +++ b/src/platform/win32.rs @@ -1430,7 +1430,9 @@ unsafe extern "system" fn wndproc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: unsafe { DefWindowProcW(hwnd, msg, wparam, lparam) } } WM_SIZE => { - if let Some(state) = get_state(hwnd) { + if let Some(state) = get_state(hwnd) + && !unsafe { IsIconic(hwnd) }.as_bool() + { layout_children(hwnd, state); } LRESULT(0)