From: Martin Rudalics Date: Sun, 2 Feb 2014 13:00:41 +0000 (+0100) Subject: In Fx_create_frame of w32fns.c process frame alpha earlier. (Bug#16619) X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~194 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b41686493e1ba1c377c7d7621249a176a1dd4dd9;p=emacs.git In Fx_create_frame of w32fns.c process frame alpha earlier. (Bug#16619) * w32fns.c (Fx_create_frame): Process frame alpha earlier. (Bug#16619) --- diff --git a/src/ChangeLog b/src/ChangeLog index c87b7e8b8e7..17c31844458 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-02-02 Martin Rudalics + + * w32fns.c (Fx_create_frame): Process frame alpha earlier. + (Bug#16619) + 2014-02-01 Eli Zaretskii * w32fns.c (Ffile_system_info): Use WINAPI in the function diff --git a/src/w32fns.c b/src/w32fns.c index b688512da88..9628b3e604e 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -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