From: Károly Lőrentey Date: Sun, 12 Mar 2006 01:37:34 +0000 (+0000) Subject: (x_icon): Disable redundant call to `x_wm_set_window_state'. X-Git-Tag: emacs-pretest-22.0.90~3652 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9d54793ea232d6c6b93cf10477216e4361abcec;p=emacs.git (x_icon): Disable redundant call to `x_wm_set_window_state'. --- diff --git a/src/ChangeLog b/src/ChangeLog index 68178e2c4d3..16565f77c03 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 --git a/src/xfns.c b/src/xfns.c index 2ab185a3c2d..5d580c9a1f1 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -2821,12 +2821,15 @@ x_icon (f, parms) 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