summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2005-06-21 16:14:51 +0000
committerJuri Linkov <juri@jurta.org>2005-06-21 16:14:51 +0000
commit33d537f0fe5038b21fcd71a322917ae3fd66ed8a (patch)
tree00b144a397e31d7a23b5f14c3e39902a9b36bbaa /src/frame.c
parentc20577bc3fa147359bf2f3df1bf39405ea2bd227 (diff)
downloademacs-33d537f0fe5038b21fcd71a322917ae3fd66ed8a.tar.gz
(Fmodify_frame_parameters):
Call frame-set-background-mode after changing the background color on non-window non-dos branch.
Diffstat (limited to 'src/frame.c')
-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'. */)
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);
}
}