Commit a9d54793 authored by Károly Lőrentey's avatar Károly Lőrentey
Browse files

(x_icon): Disable redundant call to `x_wm_set_window_state'.

parent 83c7a27b
2006-03-12 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu>
* xfns.c (x_icon): Disable redundant call to `x_wm_set_window_state'.
2006-03-11 Jason Rumney <jasonr@gnu.org>
 
* w32fns.c (signal_user_input): New function.
......
......@@ -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
......
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