summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-09-19 00:35:42 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-09-19 00:35:42 +0000
commit91a47a6836113dffd044e15cd82ce8d1c30f307d (patch)
tree15e6d6285b672417e6b59d958ea8a96ce3d83f9e /src/frame.h
parentf172b808d1c22222361d73cb945b90b562500a59 (diff)
downloademacs-91a47a6836113dffd044e15cd82ce8d1c30f307d.tar.gz
* 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/frame.h')
-rw-r--r--src/frame.h10
1 files changed, 5 insertions, 5 deletions
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. */