changeset 69428:1b5fec6d607f

(x_icon): Disable redundant call to `x_wm_set_window_state'.
author Károly Lőrentey <lorentey@elte.hu>
date Sun, 12 Mar 2006 01:37:34 +0000
parents 656079a407fa
children 1a3742d0d1cf
files src/ChangeLog src/xfns.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <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.
--- 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