aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.h
diff options
context:
space:
mode:
authorDan Nicolaescu2008-09-19 00:35:42 +0000
committerDan Nicolaescu2008-09-19 00:35:42 +0000
commit91a47a6836113dffd044e15cd82ce8d1c30f307d (patch)
tree15e6d6285b672417e6b59d958ea8a96ce3d83f9e /src/window.h
parentf172b808d1c22222361d73cb945b90b562500a59 (diff)
downloademacs-91a47a6836113dffd044e15cd82ce8d1c30f307d.tar.gz
emacs-91a47a6836113dffd044e15cd82ce8d1c30f307d.zip
* frame.h (struct frame): Move alpha from the middle of bitfields.
* window.h (struct window): Move frozen_window_start_p after the rest of the bitfields to reduce padding.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/window.h b/src/window.h
index 6c148d99cea..68f63d966c7 100644
--- a/src/window.h
+++ b/src/window.h
@@ -280,6 +280,11 @@ struct window
280 Currently only used for menu bar windows of frames. */ 280 Currently only used for menu bar windows of frames. */
281 unsigned pseudo_window_p : 1; 281 unsigned pseudo_window_p : 1;
282 282
283 /* 1 means the window start of this window is frozen and may not
284 be changed during redisplay. If point is not in the window,
285 accept that. */
286 unsigned frozen_window_start_p : 1;
287
283 /* Amount by which lines of this window are scrolled in 288 /* Amount by which lines of this window are scrolled in
284 y-direction (smooth scrolling). */ 289 y-direction (smooth scrolling). */
285 int vscroll; 290 int vscroll;
@@ -287,11 +292,6 @@ struct window
287 /* Z_BYTE - the buffer position of the last glyph in the current matrix 292 /* Z_BYTE - the buffer position of the last glyph in the current matrix
288 of W. Only valid if WINDOW_END_VALID is not nil. */ 293 of W. Only valid if WINDOW_END_VALID is not nil. */
289 int window_end_bytepos; 294 int window_end_bytepos;
290
291 /* 1 means the window start of this window is frozen and may not
292 be changed during redisplay. If point is not in the window,
293 accept that. */
294 unsigned frozen_window_start_p : 1;
295}; 295};
296 296
297/* 1 if W is a minibuffer window. */ 297/* 1 if W is a minibuffer window. */