aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.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/frame.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/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
216 be used for output. */ 216 be used for output. */
217 unsigned glyphs_initialized_p : 1; 217 unsigned glyphs_initialized_p : 1;
218 218
219 /* frame opacity
220 alpha[0]: alpha transparency of the active frame
221 alpha[1]: alpha transparency of inactive frames */
222 double alpha[2];
223
224 /* Set to non-zero in change_frame_size when size of frame changed 219 /* Set to non-zero in change_frame_size when size of frame changed
225 Clear the frame in clear_garbaged_frames if set. */ 220 Clear the frame in clear_garbaged_frames if set. */
226 unsigned resized_p : 1; 221 unsigned resized_p : 1;
@@ -485,6 +480,11 @@ struct frame
485 /* The baud rate that was used to calculate costs for this frame. */ 480 /* The baud rate that was used to calculate costs for this frame. */
486 int cost_calculation_baud_rate; 481 int cost_calculation_baud_rate;
487 482
483 /* frame opacity
484 alpha[0]: alpha transparency of the active frame
485 alpha[1]: alpha transparency of inactive frames */
486 double alpha[2];
487
488 /* Exponent for gamma correction of colors. 1/(VIEWING_GAMMA * 488 /* Exponent for gamma correction of colors. 1/(VIEWING_GAMMA *
489 SCREEN_GAMMA) where viewing_gamma is 0.4545 and SCREEN_GAMMA is a 489 SCREEN_GAMMA) where viewing_gamma is 0.4545 and SCREEN_GAMMA is a
490 frame parameter. 0 means don't do gamma correction. */ 490 frame parameter. 0 means don't do gamma correction. */