aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.h
diff options
context:
space:
mode:
authorJim Blandy1992-07-14 15:21:18 +0000
committerJim Blandy1992-07-14 15:21:18 +0000
commit44fa5b1e24d7722ef58d51b3d9fc12ed2b9696fc (patch)
tree9488c9e6ef13c2c26eb13b42b16acbfd14d0ff92 /src/window.h
parentbe14d3120a2502e5f06ef905f3b3e40a62c08d15 (diff)
downloademacs-44fa5b1e24d7722ef58d51b3d9fc12ed2b9696fc.tar.gz
emacs-44fa5b1e24d7722ef58d51b3d9fc12ed2b9696fc.zip
*** empty log message ***
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/window.h b/src/window.h
index 62a6c5b0c2e..8cb36ef0a8d 100644
--- a/src/window.h
+++ b/src/window.h
@@ -27,7 +27,7 @@ All windows in use are arranged into a tree, with pointers up and down.
27Windows that are leaves of the tree are actually displayed 27Windows that are leaves of the tree are actually displayed
28and show the contents of buffers. Windows that are not leaves 28and show the contents of buffers. Windows that are not leaves
29are used for representing the way groups of leaf windows are 29are used for representing the way groups of leaf windows are
30arranged on the screen. Leaf windows never become non-leaves. 30arranged on the frame. Leaf windows never become non-leaves.
31They are deleted only by calling delete-window on them (but 31They are deleted only by calling delete-window on them (but
32this can be done implicitly). Combination windows can be created 32this can be done implicitly). Combination windows can be created
33and deleted at any time. 33and deleted at any time.
@@ -38,7 +38,7 @@ A leaf window has a non-nil buffer field, and also
38 38
39Non-leaf windows are either vertical or horizontal combinations. 39Non-leaf windows are either vertical or horizontal combinations.
40 40
41A vertical combination window has children that are arranged on the screen 41A vertical combination window has children that are arranged on the frame
42one above the next. Its vchild field points to the uppermost child. 42one above the next. Its vchild field points to the uppermost child.
43The parent field of each of the children points to the vertical 43The parent field of each of the children points to the vertical
44combination window. The next field of each child points to the 44combination window. The next field of each child points to the
@@ -57,7 +57,7 @@ combination window may be leaf windows or vertical combination windows.
57 57
58At the top of the tree are two windows which have nil as parent. 58At the top of the tree are two windows which have nil as parent.
59The second of these is minibuf_window. The first one manages all 59The second of these is minibuf_window. The first one manages all
60the screen area that is not minibuffer, and is called the root window. 60the frame area that is not minibuffer, and is called the root window.
61Different windows can be the root at different times; 61Different windows can be the root at different times;
62initially the root window is a leaf window, but if more windows 62initially the root window is a leaf window, but if more windows
63are created then that leaf window ceases to be root and a newly 63are created then that leaf window ceases to be root and a newly
@@ -75,8 +75,8 @@ struct window
75 /* The window code does not refer to them. */ 75 /* The window code does not refer to them. */
76 int size; 76 int size;
77 struct Lisp_Vector *vec_next; 77 struct Lisp_Vector *vec_next;
78 /* The screen this window is on. */ 78 /* The frame this window is on. */
79 Lisp_Object screen; 79 Lisp_Object frame;
80 /* t if this window is a minibuffer window. */ 80 /* t if this window is a minibuffer window. */
81 Lisp_Object mini_p; 81 Lisp_Object mini_p;
82 /* Following child (to right or down) at same level of tree */ 82 /* Following child (to right or down) at same level of tree */
@@ -90,7 +90,7 @@ struct window
90 /* The window this one is a child of. */ 90 /* The window this one is a child of. */
91 Lisp_Object parent; 91 Lisp_Object parent;
92 /* The upper left corner coordinates of this window, 92 /* The upper left corner coordinates of this window,
93 as integers relative to upper left corner of screen = 0, 0 */ 93 as integers relative to upper left corner of frame = 0, 0 */
94 Lisp_Object left; 94 Lisp_Object left;
95 Lisp_Object top; 95 Lisp_Object top;
96 /* The size of the window */ 96 /* The size of the window */
@@ -122,11 +122,11 @@ struct window
122 /* Value of point at that time */ 122 /* Value of point at that time */
123 Lisp_Object last_point; 123 Lisp_Object last_point;
124/* The rest are currently not used or only half used */ 124/* The rest are currently not used or only half used */
125 /* Screen coords of point at that time */ 125 /* Frame coords of point at that time */
126 Lisp_Object last_point_x; 126 Lisp_Object last_point_x;
127 Lisp_Object last_point_y; 127 Lisp_Object last_point_y;
128 /* Screen coords of mark as of last time display completed */ 128 /* Frame coords of mark as of last time display completed */
129 /* May be nil if mark does not exist or was not on screen */ 129 /* May be nil if mark does not exist or was not on frame */
130 Lisp_Object last_mark_x; 130 Lisp_Object last_mark_x;
131 Lisp_Object last_mark_y; 131 Lisp_Object last_mark_y;
132 /* Number of characters in buffer past bottom of window, 132 /* Number of characters in buffer past bottom of window,
@@ -134,8 +134,8 @@ struct window
134 Lisp_Object window_end_pos; 134 Lisp_Object window_end_pos;
135 /* t if window_end_pos is truly valid. 135 /* t if window_end_pos is truly valid.
136 This is nil if nontrivial redisplay is preempted 136 This is nil if nontrivial redisplay is preempted
137 since in that case the screen image that window_end_pos 137 since in that case the frame image that window_end_pos
138 did not get onto the screen. */ 138 did not get onto the frame. */
139 Lisp_Object window_end_valid; 139 Lisp_Object window_end_valid;
140 /* Vertical position (relative to window top) of that buffer position 140 /* Vertical position (relative to window top) of that buffer position
141 of the first of those characters */ 141 of the first of those characters */
@@ -162,17 +162,17 @@ struct window
162 the top level editing loop at the end of each command. 162 the top level editing loop at the end of each command.
163 163
164 This value is always the same as 164 This value is always the same as
165 SCREEN_SELECTED_WINDOW (selected_screen). */ 165 FRAME_SELECTED_WINDOW (selected_frame). */
166 166
167extern Lisp_Object selected_window; 167extern Lisp_Object selected_window;
168 168
169/* This is a time stamp for window selection, so we can find the least 169/* This is a time stamp for window selection, so we can find the least
170 recently used window. Its only users are Fselect_window, 170 recently used window. Its only users are Fselect_window,
171 init_window_once, and make_screen. */ 171 init_window_once, and make_frame. */
172 172
173extern int window_select_count; 173extern int window_select_count;
174 174
175/* The minibuffer window of the selected screen. 175/* The minibuffer window of the selected frame.
176 Note that you cannot test for minibufferness of an arbitrary window 176 Note that you cannot test for minibufferness of an arbitrary window
177 by comparing against this; but you can test for minibufferness of 177 by comparing against this; but you can test for minibufferness of
178 the selected window or of any window that is displayed. */ 178 the selected window or of any window that is displayed. */