summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog9
-rw-r--r--src/frame.h10
-rw-r--r--src/window.h10
3 files changed, 19 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b083f87867f..e990ac38388 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
+2008-09-18 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * 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.
+
2008-09-18 Chong Yidong <cyd@stupidchicken.com>
* xterm.h (x_display_info): Remove `height' and `width' members.
@@ -38,6 +45,7 @@
* xmenu.c (menu_position_func): Use x_display_pixel_height and
x_display_pixel_width.
+>>>>>>> 1.6978
2008-09-18 Kenichi Handa <handa@m17n.org>
* composite.c (fill_gstring_header): Don't check FROM and TO here.
@@ -143,6 +151,7 @@
* indent.c (Fvertical_motion): Be sure to set
it_overshoot_expected if it.cmp_it.id is non-nengative.
+>>>>>>> 1.6977
2008-09-07 Andreas Schwab <schwab@suse.de>
* callproc.c (Fcall_process): Don't hold references to string data
diff --git a/src/frame.h b/src/frame.h
index e28a47ec11b..fa22b2c875d 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -216,11 +216,6 @@ struct frame
be used for output. */
unsigned glyphs_initialized_p : 1;
- /* frame opacity
- alpha[0]: alpha transparency of the active frame
- alpha[1]: alpha transparency of inactive frames */
- double alpha[2];
-
/* Set to non-zero in change_frame_size when size of frame changed
Clear the frame in clear_garbaged_frames if set. */
unsigned resized_p : 1;
@@ -485,6 +480,11 @@ struct frame
/* The baud rate that was used to calculate costs for this frame. */
int cost_calculation_baud_rate;
+ /* frame opacity
+ alpha[0]: alpha transparency of the active frame
+ alpha[1]: alpha transparency of inactive frames */
+ double alpha[2];
+
/* Exponent for gamma correction of colors. 1/(VIEWING_GAMMA *
SCREEN_GAMMA) where viewing_gamma is 0.4545 and SCREEN_GAMMA is a
frame parameter. 0 means don't do gamma correction. */
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
Currently only used for menu bar windows of frames. */
unsigned pseudo_window_p : 1;
+ /* 1 means the window start of this window is frozen and may not
+ be changed during redisplay. If point is not in the window,
+ accept that. */
+ unsigned frozen_window_start_p : 1;
+
/* Amount by which lines of this window are scrolled in
y-direction (smooth scrolling). */
int vscroll;
@@ -287,11 +292,6 @@ struct window
/* Z_BYTE - the buffer position of the last glyph in the current matrix
of W. Only valid if WINDOW_END_VALID is not nil. */
int window_end_bytepos;
-
- /* 1 means the window start of this window is frozen and may not
- be changed during redisplay. If point is not in the window,
- accept that. */
- unsigned frozen_window_start_p : 1;
};
/* 1 if W is a minibuffer window. */