# HG changeset patch # User Juri Linkov # Date 1119370491 0 # Node ID 844f9903e3f9b2cc20dffda6db85c7caa1274fd2 # Parent cb0d171c82732dee4b368e19d30d7946b58c2ba2 (Fmodify_frame_parameters): Call frame-set-background-mode after changing the background color on non-window non-dos branch. diff -r cb0d171c8273 -r 844f9903e3f9 src/frame.c --- 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); } }