From: Martin Rudalics Date: Sat, 4 Jul 2015 08:42:25 +0000 (+0200) Subject: Fix processing of alpha parameter for Windows tip frames (Bug#17344) X-Git-Tag: emacs-25.0.90~1569 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/cdd5e86967e0a3d23da3079dc5b17ace699e66b3 Fix processing of alpha parameter for Windows tip frames (Bug#17344) * src/w32fns.c (x_create_tip_frame): Fix processing alpha parameter. (Bug#17344) --- diff --git a/src/w32fns.c b/src/w32fns.c index 836dc10118..fa26e67364 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