aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32fns.c')
-rw-r--r--src/w32fns.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index f98a53f95d4..3fe9622b007 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -4364,7 +4364,7 @@ This function is an internal primitive--use `make-frame' instead. */)
4364 x_default_parameter (f, parameters, Qborder_width, make_number (2), 4364 x_default_parameter (f, parameters, Qborder_width, make_number (2),
4365 "borderWidth", "BorderWidth", RES_TYPE_NUMBER); 4365 "borderWidth", "BorderWidth", RES_TYPE_NUMBER);
4366 4366
4367 /* We recognize either internalBorderWidth or internalBorder 4367 /* We recognize either internalBorderWidth or internalBorder
4368 (which is what xterm calls it). */ 4368 (which is what xterm calls it). */
4369 if (NILP (Fassq (Qinternal_border_width, parameters))) 4369 if (NILP (Fassq (Qinternal_border_width, parameters)))
4370 { 4370 {
@@ -5534,14 +5534,20 @@ x_create_tip_frame (dpyinfo, parms, text)
5534 of the tooltip frame appear in pink. Prevent this. */ 5534 of the tooltip frame appear in pink. Prevent this. */
5535 { 5535 {
5536 Lisp_Object bg = Fframe_parameter (frame, Qbackground_color); 5536 Lisp_Object bg = Fframe_parameter (frame, Qbackground_color);
5537 Lisp_Object fg = Fframe_parameter (frame, Qforeground_color);
5538 Lisp_Object colors = Qnil;
5537 5539
5538 /* Set tip_frame here, so that */ 5540 /* Set tip_frame here, so that */
5539 tip_frame = frame; 5541 tip_frame = frame;
5540 call2 (Qface_set_after_frame_default, frame, Qnil); 5542 call2 (Qface_set_after_frame_default, frame, Qnil);
5541 5543
5542 if (!EQ (bg, Fframe_parameter (frame, Qbackground_color))) 5544 if (!EQ (bg, Fframe_parameter (frame, Qbackground_color)))
5543 Fmodify_frame_parameters (frame, Fcons (Fcons (Qbackground_color, bg), 5545 colors = Fcons (Fcons (Qbackground_color, bg), colors);
5544 Qnil)); 5546 if (!EQ (fg, Fframe_parameter (frame, Qforeground_color)))
5547 colors = Fcons (Fcons (Qforeground_color, fg), colors);
5548
5549 if (!NILP (colors))
5550 Fmodify_frame_parameters (frame, colors);
5545 } 5551 }
5546 5552
5547 f->no_split = 1; 5553 f->no_split = 1;