Mercurial > emacs
diff src/w32fns.c @ 36080:743534626f73
(w32_wnd_proc) <WM_GETMINMAXINFO>: Allow resizing the
Emacs frame above the screen size.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Wed, 14 Feb 2001 13:00:01 +0000 |
parents | f4a0b086cc5d |
children | a8630c63f7d5 |
line wrap: on
line diff
--- a/src/w32fns.c Wed Feb 14 11:39:05 2001 +0000 +++ b/src/w32fns.c Wed Feb 14 13:00:01 2001 +0000 @@ -4845,6 +4845,10 @@ /* 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: