Mercurial > hg > xemacs-beta
comparison src/frame.h @ 70:131b0175ea99 r20-0b30
Import from CVS: tag r20-0b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:02:59 +0200 |
parents | ec9a17fef872 |
children | 54cc21c15cbb |
comparison
equal
deleted
inserted
replaced
69:804d1389bcd6 | 70:131b0175ea99 |
---|---|
110 | 110 |
111 #define MARKED_SLOT(x) Lisp_Object x | 111 #define MARKED_SLOT(x) Lisp_Object x |
112 #include "frameslots.h" | 112 #include "frameslots.h" |
113 #undef MARKED_SLOT | 113 #undef MARKED_SLOT |
114 | 114 |
115 /* Nonzero if frame is currently displayed. | |
116 Mutally exclusive with iconfied | |
117 JV: This now a tristate flag: | |
118 Value : Emacs meaning :f-v-p : X meaning | |
119 0 : not displayed : nil : unmapped | |
120 >0 : user can access it,needs repainting : t : mapped and visible | |
121 <0 : user can access it,needs no repainting : hidden :mapped and invisible | |
122 where f-v-p is the return value of frame-visible-p */ | |
123 int visible; | |
124 | |
125 /* one-bit flags: */ | 115 /* one-bit flags: */ |
126 | 116 |
127 /* Are we finished initializing? */ | 117 /* Are we finished initializing? */ |
128 unsigned int init_finished :1; | 118 unsigned int init_finished :1; |
129 | 119 |
133 /* Nonzero if this frame has been destroyed. */ | 123 /* Nonzero if this frame has been destroyed. */ |
134 unsigned int dead :1; | 124 unsigned int dead :1; |
135 | 125 |
136 /* Nonzero if last attempt at redisplay on this frame was preempted. */ | 126 /* Nonzero if last attempt at redisplay on this frame was preempted. */ |
137 unsigned int display_preempted :1; | 127 unsigned int display_preempted :1; |
128 | |
129 /* Nonzero if frame is currently displayed. */ | |
130 unsigned int visible :1; | |
138 | 131 |
139 /* Nonzero if window is currently iconified. | 132 /* Nonzero if window is currently iconified. |
140 This and visible are mutually exclusive. */ | 133 This and visible are mutually exclusive. */ |
141 unsigned int iconified :1; | 134 unsigned int iconified :1; |
142 | 135 |
174 | 167 |
175 unsigned int size_change_pending :1; | 168 unsigned int size_change_pending :1; |
176 unsigned int mirror_dirty :1; | 169 unsigned int mirror_dirty :1; |
177 | 170 |
178 /* flag indicating if any window on this frame is displaying a subwindow */ | 171 /* flag indicating if any window on this frame is displaying a subwindow */ |
179 unsigned int subwindows_being_displayed :1; | 172 int subwindows_being_displayed :1; |
180 }; | 173 }; |
181 | 174 |
182 /* If this is non-nil, it is the frame that make-frame is currently | 175 /* If this is non-nil, it is the frame that make-frame is currently |
183 creating. We can't set the current frame to this in case the | 176 creating. We can't set the current frame to this in case the |
184 debugger goes off because it would try and display to it. However, | 177 debugger goes off because it would try and display to it. However, |
337 #define FRAME_NEW_HEIGHT(f) ((f)->new_height) | 330 #define FRAME_NEW_HEIGHT(f) ((f)->new_height) |
338 #define FRAME_NEW_WIDTH(f) ((f)->new_width) | 331 #define FRAME_NEW_WIDTH(f) ((f)->new_width) |
339 #define FRAME_CURSOR_X(f) ((f)->cursor_x) | 332 #define FRAME_CURSOR_X(f) ((f)->cursor_x) |
340 #define FRAME_CURSOR_Y(f) ((f)->cursor_y) | 333 #define FRAME_CURSOR_Y(f) ((f)->cursor_y) |
341 #define FRAME_VISIBLE_P(f) ((f)->visible) | 334 #define FRAME_VISIBLE_P(f) ((f)->visible) |
342 #define FRAME_REPAINT_P(f) ((f)->visible>0) | |
343 #define FRAME_NO_SPLIT_P(f) ((f)->no_split) | 335 #define FRAME_NO_SPLIT_P(f) ((f)->no_split) |
344 #define FRAME_ICONIFIED_P(f) ((f)->iconified) | 336 #define FRAME_ICONIFIED_P(f) ((f)->iconified) |
345 #define FRAME_FOCUS_FRAME(f) ((f)->focus_frame) | 337 #define FRAME_FOCUS_FRAME(f) ((f)->focus_frame) |
346 #define FRAME_MINIBUF_WINDOW(f) ((f)->minibuffer_window) | 338 #define FRAME_MINIBUF_WINDOW(f) ((f)->minibuffer_window) |
347 #define FRAME_ROOT_WINDOW(f) ((f)->root_window) | 339 #define FRAME_ROOT_WINDOW(f) ((f)->root_window) |