diff options
author | Andrew Innes <andrewi@gnu.org> | 2001-02-14 13:01:09 +0000 |
---|---|---|
committer | Andrew Innes <andrewi@gnu.org> | 2001-02-14 13:01:09 +0000 |
commit | bf853fee22c3db2287971b5b3478c0445fb84938 (patch) | |
tree | c3d1b8191a141aaceaa6298373e5ac4c88e51cbc | |
parent | 78c663d858e322eadf2cd34d69df94478bf5df02 (diff) | |
download | emacs-bf853fee22c3db2287971b5b3478c0445fb84938.tar.gz |
(w32_wnd_proc) <WM_GETMINMAXINFO>: Allow resizing the
Emacs frame above the screen size.
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/w32fns.c | 4 |
2 files changed, 9 insertions, 0 deletions
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 <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. 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: |