mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
* 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.
This commit is contained in:
parent
f172b808d1
commit
91a47a6836
3 changed files with 19 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
10
src/frame.h
10
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. */
|
||||
|
|
|
|||
10
src/window.h
10
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. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue