aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-09-19 00:35:42 +0000
committerDan Nicolaescu2008-09-19 00:35:42 +0000
commit91a47a6836113dffd044e15cd82ce8d1c30f307d (patch)
tree15e6d6285b672417e6b59d958ea8a96ce3d83f9e
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.
-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 @@
12008-09-18 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * frame.h (struct frame): Move alpha from the middle of bitfields.
4
5 * window.h (struct window): Move frozen_window_start_p after the
6 rest of the bitfields to reduce padding.
7
12008-09-18 Chong Yidong <cyd@stupidchicken.com> 82008-09-18 Chong Yidong <cyd@stupidchicken.com>
2 9
3 * xterm.h (x_display_info): Remove `height' and `width' members. 10 * xterm.h (x_display_info): Remove `height' and `width' members.
@@ -38,6 +45,7 @@
38 * xmenu.c (menu_position_func): Use x_display_pixel_height and 45 * xmenu.c (menu_position_func): Use x_display_pixel_height and
39 x_display_pixel_width. 46 x_display_pixel_width.
40 47
48>>>>>>> 1.6978
412008-09-18 Kenichi Handa <handa@m17n.org> 492008-09-18 Kenichi Handa <handa@m17n.org>
42 50
43 * composite.c (fill_gstring_header): Don't check FROM and TO here. 51 * composite.c (fill_gstring_header): Don't check FROM and TO here.
@@ -143,6 +151,7 @@
143 * indent.c (Fvertical_motion): Be sure to set 151 * indent.c (Fvertical_motion): Be sure to set
144 it_overshoot_expected if it.cmp_it.id is non-nengative. 152 it_overshoot_expected if it.cmp_it.id is non-nengative.
145 153
154>>>>>>> 1.6977
1462008-09-07 Andreas Schwab <schwab@suse.de> 1552008-09-07 Andreas Schwab <schwab@suse.de>
147 156
148 * callproc.c (Fcall_process): Don't hold references to string data 157 * 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
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. */
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. */