From cdd5e86967e0a3d23da3079dc5b17ace699e66b3 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Sat, 4 Jul 2015 10:42:25 +0200 Subject: [PATCH] Fix processing of alpha parameter for Windows tip frames (Bug#17344) * src/w32fns.c (x_create_tip_frame): Fix processing alpha parameter. (Bug#17344) --- src/w32fns.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/w32fns.c b/src/w32fns.c index 836dc10118d..fa26e67364c 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -5836,8 +5836,6 @@ x_create_tip_frame (struct w32_display_info *dpyinfo, "cursorColor", "Foreground", RES_TYPE_STRING); x_default_parameter (f, parms, Qborder_color, build_string ("black"), "borderColor", "BorderColor", RES_TYPE_STRING); - x_default_parameter (f, parms, Qalpha, Qnil, - "alpha", "Alpha", RES_TYPE_NUMBER); /* Init faces before x_default_parameter is called for the scroll-bar-width parameter because otherwise we end up in @@ -5866,6 +5864,9 @@ x_create_tip_frame (struct w32_display_info *dpyinfo, "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN); x_default_parameter (f, parms, Qcursor_type, Qbox, "cursorType", "CursorType", RES_TYPE_SYMBOL); + /* Process alpha here (Bug#17344). */ + x_default_parameter (f, parms, 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 -- 2.11.4.GIT