Mercurial > emacs
diff src/w32fns.c @ 24479:3b2c3636bf0e
(w32_wnd_proc): Handle WM_GETMINMAXINFO message.
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Sun, 14 Mar 1999 05:21:29 +0000 |
parents | d11ac02f9d6a |
children | f65692fe7dd5 |
line wrap: on
line diff
--- a/src/w32fns.c Sun Mar 14 00:57:25 1999 +0000 +++ b/src/w32fns.c Sun Mar 14 05:21:29 1999 +0000 @@ -4429,6 +4429,12 @@ 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);