From 33d537f0fe5038b21fcd71a322917ae3fd66ed8a Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 21 Jun 2005 16:14:51 +0000 Subject: [PATCH] (Fmodify_frame_parameters): Call frame-set-background-mode after changing the background color on non-window non-dos branch. --- src/frame.c | 6 ++++++ 1 file changed, 6 insertions(+) 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'. */) prop = parms[i]; val = values[i]; store_frame_param (f, prop, val); + + /* Changing the background color might change the background + mode, so that we have to load new defface specs. + Call frame-set-background-mode to do that. */ + if (EQ (prop, Qbackground_color)) + call1 (Qframe_set_background_mode, frame); } } -- 2.39.2