From bf853fee22c3db2287971b5b3478c0445fb84938 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Wed, 14 Feb 2001 13:01:09 +0000 Subject: [PATCH] (w32_wnd_proc) : Allow resizing the Emacs frame above the screen size. --- src/ChangeLog | 5 +++++ src/w32fns.c | 4 ++++ 2 files changed, 9 insertions(+) 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: -- 2.39.5