diff options
| author | Andrew Innes | 2001-02-14 13:01:09 +0000 |
|---|---|---|
| committer | Andrew Innes | 2001-02-14 13:01:09 +0000 |
| commit | bf853fee22c3db2287971b5b3478c0445fb84938 (patch) | |
| tree | c3d1b8191a141aaceaa6298373e5ac4c88e51cbc /src | |
| parent | 78c663d858e322eadf2cd34d69df94478bf5df02 (diff) | |
| download | emacs-bf853fee22c3db2287971b5b3478c0445fb84938.tar.gz emacs-bf853fee22c3db2287971b5b3478c0445fb84938.zip | |
(w32_wnd_proc) <WM_GETMINMAXINFO>: Allow resizing the
Emacs frame above the screen size.
Diffstat (limited to 'src')
| -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 @@ | |||
| 1 | 2001-02-14 Andrew Innes <andrewi@gnu.org> | ||
| 2 | |||
| 3 | * w32fns.c (w32_wnd_proc) <WM_GETMINMAXINFO>: Allow resizing the | ||
| 4 | Emacs frame above the screen size. | ||
| 5 | |||
| 1 | 2001-02-14 Gerd Moellmann <gerd@gnu.org> | 6 | 2001-02-14 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * xdisp.c (reseat_1): Set iterator's end_charpos to ZV. | 8 | * 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) | |||
| 4845 | /* Hack to correct bug that allows Emacs frames to be resized | 4845 | /* Hack to correct bug that allows Emacs frames to be resized |
| 4846 | below the Minimum Tracking Size. */ | 4846 | below the Minimum Tracking Size. */ |
| 4847 | ((LPMINMAXINFO) lParam)->ptMinTrackSize.y++; | 4847 | ((LPMINMAXINFO) lParam)->ptMinTrackSize.y++; |
| 4848 | /* Hack to allow resizing the Emacs frame above the screen size. | ||
| 4849 | Note that Windows 9x limits coordinates to 16-bits. */ | ||
| 4850 | ((LPMINMAXINFO) lParam)->ptMaxTrackSize.x = 32767; | ||
| 4851 | ((LPMINMAXINFO) lParam)->ptMaxTrackSize.y = 32767; | ||
| 4848 | return 0; | 4852 | return 0; |
| 4849 | 4853 | ||
| 4850 | case WM_EMACS_CREATESCROLLBAR: | 4854 | case WM_EMACS_CREATESCROLLBAR: |