]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fmodify_frame_parameters):
authorJuri Linkov <juri@jurta.org>
Tue, 21 Jun 2005 16:14:51 +0000 (16:14 +0000)
committerJuri Linkov <juri@jurta.org>
Tue, 21 Jun 2005 16:14:51 +0000 (16:14 +0000)
Call frame-set-background-mode after changing the background color
on non-window non-dos branch.

src/frame.c

index 16810c21739e10f76664680df4cc29bfd36e17d3..cfa4851d027834d28182b9b6abde405317fa4dc3 100644 (file)
@@ -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);
        }
     }