From b41686493e1ba1c377c7d7621249a176a1dd4dd9 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Sun, 2 Feb 2014 14:00:41 +0100 Subject: [PATCH] In Fx_create_frame of w32fns.c process frame alpha earlier. (Bug#16619) * w32fns.c (Fx_create_frame): Process frame alpha earlier. (Bug#16619) --- src/ChangeLog | 5 +++++ src/w32fns.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.2