In Fx_create_frame of w32fns.c process frame alpha earlier. (Bug#16619)

* w32fns.c (Fx_create_frame): Process frame alpha earlier.  (Bug#16619)
This commit is contained in:
Martin Rudalics 2014-02-02 14:00:41 +01:00
parent b8d552c2f0
commit b41686493e
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2014-02-02 Martin Rudalics <rudalics@gmx.at>
* w32fns.c (Fx_create_frame): Process frame alpha earlier.
(Bug#16619)
2014-02-01 Eli Zaretskii <eliz@gnu.org>
* w32fns.c (Ffile_system_info): Use WINAPI in the function

View file

@ -4503,6 +4503,9 @@ This function is an internal primitive--use `make-frame' instead. */)
"leftFringe", "LeftFringe", RES_TYPE_NUMBER);
x_default_parameter (f, parameters, Qright_fringe, Qnil,
"rightFringe", "RightFringe", RES_TYPE_NUMBER);
/* Process alpha here (Bug#16619). */
x_default_parameter (f, parameters, Qalpha, Qnil,
"alpha", "Alpha", RES_TYPE_NUMBER);
/* Init faces before x_default_parameter is called for scroll-bar
parameters because that function calls x_set_scroll_bar_width,
@ -4595,8 +4598,6 @@ This function is an internal primitive--use `make-frame' instead. */)
"cursorType", "CursorType", RES_TYPE_SYMBOL);
x_default_parameter (f, parameters, Qscroll_bar_width, Qnil,
"scrollBarWidth", "ScrollBarWidth", RES_TYPE_NUMBER);
x_default_parameter (f, parameters, Qalpha, Qnil,
"alpha", "Alpha", RES_TYPE_NUMBER);
/* Dimensions, especially FRAME_LINES (f), must be done via change_frame_size.
Change will not be effected unless different from the current