Commit 9f7e52b4 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(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.
parent a10b6ff1
2001-11-15 Gerd Moellmann <gerd@gnu.org>
* xfns.c (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.
* xdisp.c (build_desired_tool_bar_string): Accept zero
tool_bar_button_relief.
* xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief.
* xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief.
* xterm.c (x_draw_bar_cursor): If the background color of the
glyph under the cursor equals the frame's cursor color, use
the glyph's foreground color for drawing the bar cursor.
......
......@@ -950,16 +950,13 @@ x_set_frame_parameters (f, alist)
old_value = get_frame_param (f, prop);
//if (NILP (Fequal (val, old_value)))
{
store_frame_param (f, prop, val);
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);
}
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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment