Commit b1f918f8 authored by Geoff Voelker's avatar Geoff Voelker
Browse files

(w32_wnd_proc): Handle WM_GETMINMAXINFO message.

parent 2680793d
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment