]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_wnd_proc) <WM_GETMINMAXINFO>: Allow resizing the
authorAndrew Innes <andrewi@gnu.org>
Wed, 14 Feb 2001 13:01:09 +0000 (13:01 +0000)
committerAndrew Innes <andrewi@gnu.org>
Wed, 14 Feb 2001 13:01:09 +0000 (13:01 +0000)
Emacs frame above the screen size.

src/ChangeLog
src/w32fns.c

index 78584a9473ab101e2ecafd4e4703a2e3373f3280..842602fb8a7f55cc479792b22c519a5e218ad477 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-14  Andrew Innes  <andrewi@gnu.org>
+
+       * w32fns.c (w32_wnd_proc) <WM_GETMINMAXINFO>: Allow resizing the
+       Emacs frame above the screen size.
+
 2001-02-14  Gerd Moellmann  <gerd@gnu.org>
 
        * xdisp.c (reseat_1): Set iterator's end_charpos to ZV.
index efd9efa108c5e21c0d47b435da57bee2caaf2e04..c36823cc229a6f041e3d00b94455f8ea952778e8 100644 (file)
@@ -4845,6 +4845,10 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
       /* Hack to correct bug that allows Emacs frames to be resized
         below the Minimum Tracking Size.  */
       ((LPMINMAXINFO) lParam)->ptMinTrackSize.y++;
+      /* Hack to allow resizing the Emacs frame above the screen size.
+        Note that Windows 9x limits coordinates to 16-bits.  */
+      ((LPMINMAXINFO) lParam)->ptMaxTrackSize.x = 32767;
+      ((LPMINMAXINFO) lParam)->ptMaxTrackSize.y = 32767;
       return 0;
 
     case WM_EMACS_CREATESCROLLBAR: