comparison src/window.h @ 998:61c6983219ff

entered into RCS
author Jim Blandy <jimb@redhat.com>
date Wed, 19 Aug 1992 03:54:46 +0000
parents 1f320a0729f8
children 3b0906e2b82c
comparison
equal deleted inserted replaced
997:894201c58bb8 998:61c6983219ff
61 Different windows can be the root at different times; 61 Different windows can be the root at different times;
62 initially the root window is a leaf window, but if more windows 62 initially the root window is a leaf window, but if more windows
63 are created then that leaf window ceases to be root and a newly 63 are created then that leaf window ceases to be root and a newly
64 made combination window becomes root instead. 64 made combination window becomes root instead.
65 65
66 In any case, prev of the minibuf window is the root window and 66 In any case, on screens which have an ordinary window and a
67 next of the root window is the minibuf window. To find the 67 minibuffer, prev of the minibuf window is the root window and next of
68 root window at any time, do XWINDOW (minibuf_window)->prev. 68 the root window is the minibuf window. On minibufferless screens or
69 69 minibuffer-only screens, the root window and the minibuffer window are
70 */ 70 one and the same, so its prev and next members are nil. */
71
71 72
72 struct window 73 struct window
73 { 74 {
74 /* The first two fields are really the header of a vector */ 75 /* The first two fields are really the header of a vector */
75 /* The window code does not refer to them. */ 76 /* The window code does not refer to them. */
172 173
173 extern int window_select_count; 174 extern int window_select_count;
174 175
175 /* The minibuffer window of the selected frame. 176 /* The minibuffer window of the selected frame.
176 Note that you cannot test for minibufferness of an arbitrary window 177 Note that you cannot test for minibufferness of an arbitrary window
177 by comparing against this; but you can test for minibufferness of 178 by comparing against this; use the MINI_WINDOW_P macro instead. */
178 the selected window or of any window that is displayed. */
179 179
180 extern Lisp_Object minibuf_window; 180 extern Lisp_Object minibuf_window;
181 181
182 /* Non-nil => window to for C-M-v to scroll 182 /* Non-nil => window to for C-M-v to scroll
183 when the minibuffer is selected. */ 183 when the minibuffer is selected. */
245 extern int windows_or_buffers_changed; 245 extern int windows_or_buffers_changed;
246 246
247 /* Number of windows displaying the selected buffer. 247 /* Number of windows displaying the selected buffer.
248 Normally this is 1, but it can be more. */ 248 Normally this is 1, but it can be more. */
249 extern int buffer_shared; 249 extern int buffer_shared;
250
251 /* If *ROWS or *COLS are too small a size for FRAME, set them to the
252 minimum allowable size. */
253 extern void check_frame_size ( /* FRAME_PTR frame, int *rows, int *cols */ );