From: Andrew Innes Date: Wed, 14 Feb 2001 13:01:09 +0000 (+0000) Subject: (w32_wnd_proc) : Allow resizing the X-Git-Tag: emacs-pretest-21.0.98~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf853fee22c3db2287971b5b3478c0445fb84938;p=emacs.git (w32_wnd_proc) : Allow resizing the Emacs frame above the screen size. --- diff --git a/src/ChangeLog b/src/ChangeLog index 78584a9473a..842602fb8a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-02-14 Andrew Innes + + * w32fns.c (w32_wnd_proc) : Allow resizing the + Emacs frame above the screen size. + 2001-02-14 Gerd Moellmann * xdisp.c (reseat_1): Set iterator's end_charpos to ZV. diff --git a/src/w32fns.c b/src/w32fns.c index efd9efa108c..c36823cc229 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -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: