From: Geoff Voelker Date: Sun, 14 Mar 1999 05:21:29 +0000 (+0000) Subject: (w32_wnd_proc): Handle WM_GETMINMAXINFO message. X-Git-Tag: emacs-20.4~470 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b1f918f8da446a89d3b94011589480baf99e7a84;p=emacs.git (w32_wnd_proc): Handle WM_GETMINMAXINFO message. --- 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);