]> code.delx.au - gnu-emacs/commitdiff
Fix processing of alpha parameter for Windows tip frames (Bug#17344)
authorMartin Rudalics <rudalics@gmx.at>
Sat, 4 Jul 2015 08:42:25 +0000 (10:42 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 4 Jul 2015 08:42:25 +0000 (10:42 +0200)
* src/w32fns.c (x_create_tip_frame): Fix processing alpha
parameter.  (Bug#17344)

src/w32fns.c

index 836dc10118d6ebf46d62ac92ca7e4f57247ecbac..fa26e67364c7f9ec788cc3442f8db3f00b3931ff 100644 (file)
@@ -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