aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/frame.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 16810c21739..cfa4851d027 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2313,6 +2313,12 @@ enabled such bindings for that variable with `make-variable-frame-local'. */)
2313 prop = parms[i]; 2313 prop = parms[i];
2314 val = values[i]; 2314 val = values[i];
2315 store_frame_param (f, prop, val); 2315 store_frame_param (f, prop, val);
2316
2317 /* Changing the background color might change the background
2318 mode, so that we have to load new defface specs.
2319 Call frame-set-background-mode to do that. */
2320 if (EQ (prop, Qbackground_color))
2321 call1 (Qframe_set_background_mode, frame);
2316 } 2322 }
2317 } 2323 }
2318 2324