Mercurial > emacs
changeset 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 | cb0d171c8273 |
children | c1b2995b7f34 |
files | src/frame.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
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); } }