* window.c (coordinates_in_window): Do not assume that all
authorJim Blandy <jimb@redhat.com>
Sat, 29 Aug 1992 03:14:44 +0000 (03:14 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 29 Aug 1992 03:14:44 +0000 (03:14 +0000)
commit05c2896ac5b24f1c7f7ca18e76f59eb2291b9049
tree973e3adf3ca5aaa9654a7e8c342aa26acb5e07ab
parente04a4e0dcf11972ab406026746e70e6be8e788f4
* window.c (coordinates_in_window): Do not assume that all
one-line windows are the minibuffer, or that all minibuffers are
one line high.  Use MINI_WINDOW_P.

* window.c (change_window_height): If the size of the window will
shrink below the minimum, this code would only try to delete it if
it had a parent.  Well, even if the window doesn't have a parent,
you want Fdelete_window to signal an error, since you're trying to
resize one of the undeleteable windows into nothingness.  So call
Fdelete_window even if the window doesn't have a parent.

* window.c (MINSIZE): Add kludge so that the minibuffer is always
allowed to shrink to one line in height.
(MINSIZE, CURBEG, CURSIZE): Change these so that their argument
are always Lisp_Objects, not struct window *'s.
(change_window_height): Changed accordingly.
src/window.c