changeset 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 6de993b01982
children f9d3288b66c3
files src/w32fns.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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);