# HG changeset patch # User Kroly Lrentey # Date 1142127454 0 # Node ID 1b5fec6d607fb32b7df82c53151e7c635fd3369c # Parent 656079a407fa9adf7f4727ae200d666bdfc9111b (x_icon): Disable redundant call to `x_wm_set_window_state'. diff -r 656079a407fa -r 1b5fec6d607f src/ChangeLog --- a/src/ChangeLog Sun Mar 12 01:06:59 2006 +0000 +++ b/src/ChangeLog Sun Mar 12 01:37:34 2006 +0000 @@ -1,3 +1,7 @@ +2006-03-12 L$,1 q(Brentey K,Aa(Broly + + * xfns.c (x_icon): Disable redundant call to `x_wm_set_window_state'. + 2006-03-11 Jason Rumney * w32fns.c (signal_user_input): New function. diff -r 656079a407fa -r 1b5fec6d607f src/xfns.c --- a/src/xfns.c Sun Mar 12 01:06:59 2006 +0000 +++ b/src/xfns.c Sun Mar 12 01:37:34 2006 +0000 @@ -2821,12 +2821,15 @@ if (! EQ (icon_x, Qunbound)) x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y)); +#if 0 /* x_get_arg removes the visibility parameter as a side effect, + but x_create_frame still needs it. */ /* Start up iconic or window? */ x_wm_set_window_state (f, (EQ (x_get_arg (dpyinfo, parms, Qvisibility, 0, 0, RES_TYPE_SYMBOL), Qicon) ? IconicState : NormalState)); +#endif x_text_icon (f, (char *) SDATA ((!NILP (f->icon_name) ? f->icon_name