Mercurial > emacs
diff src/frame.c @ 63643:844f9903e3f9
(Fmodify_frame_parameters):
Call frame-set-background-mode after changing the background color
on non-window non-dos branch.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Tue, 21 Jun 2005 16:14:51 +0000 |
parents | 1ba4135e8efa |
children | e7e58f0947fe bdcbdec78dd3 |
line wrap: on
line diff
--- a/src/frame.c Tue Jun 21 16:14:34 2005 +0000 +++ b/src/frame.c Tue Jun 21 16:14:51 2005 +0000 @@ -2313,6 +2313,12 @@ 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); } }