changeset 41089:ead122ed3fe6

(x_set_frame_parameters): Revert change of 2001-11-07. Some x_set_* function expect to be called even if old and new value are equal.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 15 Nov 2001 16:15:47 +0000
parents ee9264d0e596
children 304a46db62e4
files src/xfns.c
diffstat 1 files changed, 7 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Thu Nov 15 16:13:47 2001 +0000
+++ b/src/xfns.c	Thu Nov 15 16:15:47 2001 +0000
@@ -950,16 +950,13 @@
 
 	  old_value = get_frame_param (f, prop);
 
-	  //if (NILP (Fequal (val, old_value)))
-	    {
-	      store_frame_param (f, prop, val);
-
-	      param_index = Fget (prop, Qx_frame_parameter);
-	      if (NATNUMP (param_index)
-		  && (XFASTINT (param_index)
-		      < sizeof (x_frame_parms)/sizeof (x_frame_parms[0])))
-		(*x_frame_parms[XINT (param_index)].setter)(f, val, old_value);
-	    }
+	  store_frame_param (f, prop, val);
+
+	  param_index = Fget (prop, Qx_frame_parameter);
+	  if (NATNUMP (param_index)
+	      && (XFASTINT (param_index)
+		  < sizeof (x_frame_parms)/sizeof (x_frame_parms[0])))
+	    (*x_frame_parms[XINT (param_index)].setter)(f, val, old_value);
 	}
     }