summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-09-23 11:58:41 +0000
committerGerd Moellmann <gerd@gnu.org>1999-09-23 11:58:41 +0000
commit57209cbae0d7346bd5180ed87709c15931c5f92f (patch)
tree40c8e420f069aa0e3578932fefd2fe390160f0b6 /src/window.h
parentf984d4fcdfe6495793c3b2090f2ace4646e77f6c (diff)
downloademacs-57209cbae0d7346bd5180ed87709c15931c5f92f.tar.gz
(struct window): New members orig_top, orig_height.
(toplevel): Add prototypes for grow_mini_window and shrink_mini_window. Remove prototype for change_window_height.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h
index a30d68529c4..10aa6338139 100644
--- a/src/window.h
+++ b/src/window.h
@@ -202,6 +202,10 @@ struct window
Lisp_Object redisplay_end_trigger;
/* Non-nil means don't delete this window for becoming "too small". */
Lisp_Object too_small_ok;
+
+ /* Original window height and top before mini-window was
+ enlarged. */
+ Lisp_Object orig_height, orig_top;
/* No Lisp data may follow below this point without changing
mark_object in alloc.c. The member current_matrix must be the
@@ -367,10 +371,12 @@ extern int window_height P_ ((Lisp_Object));
extern int window_width P_ ((Lisp_Object));
extern void set_window_height P_ ((Lisp_Object, int, int));
extern void set_window_width P_ ((Lisp_Object, int, int));
-extern void change_window_height P_ ((int, int));
extern void delete_all_subwindows P_ ((struct window *));
extern void freeze_window_starts P_ ((struct frame *, int));
extern void foreach_window ();
+extern void grow_mini_window P_ ((struct window *, int));
+extern void shrink_mini_window P_ ((struct window *));
+
/* Make WINDOW display BUFFER as its contents. RUN_HOOKS_P non-zero
means it's allowed to run hooks. See make_frame for a case where