From b1f918f8da446a89d3b94011589480baf99e7a84 Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Sun, 14 Mar 1999 05:21:29 +0000 Subject: [PATCH] (w32_wnd_proc): Handle WM_GETMINMAXINFO message. --- src/w32fns.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/w32fns.c b/src/w32fns.c index f2086b587c9..04fada87196 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -4429,6 +4429,12 @@ w32_wnd_proc (hwnd, msg, wParam, lParam) goto dflt; + case WM_GETMINMAXINFO: + /* Hack to correct bug that allows Emacs frames to be resized + below the Minimum Tracking Size. */ + ((LPMINMAXINFO) lParam)->ptMinTrackSize.y++; + return 0; + case WM_EMACS_CREATESCROLLBAR: return (LRESULT) w32_createscrollbar ((struct frame *) wParam, (struct scroll_bar *) lParam); -- 2.39.2