diff options
Diffstat (limited to 'src/window.h')
| -rw-r--r-- | src/window.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/window.h b/src/window.h index 8cb36ef0a8d..aa4278623ca 100644 --- a/src/window.h +++ b/src/window.h | |||
| @@ -63,11 +63,12 @@ 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 | minibuffer-only screens, the root window and the minibuffer window are | ||
| 70 | one and the same, so its prev and next members are nil. */ | ||
| 69 | 71 | ||
| 70 | */ | ||
| 71 | 72 | ||
| 72 | struct window | 73 | struct window |
| 73 | { | 74 | { |
| @@ -174,8 +175,7 @@ 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 | ||
| @@ -247,3 +247,7 @@ extern int windows_or_buffers_changed; | |||
| 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 */ ); | ||