]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_icon): Disable redundant call to `x_wm_set_window_state'.
authorKároly Lőrentey <lorentey@elte.hu>
Sun, 12 Mar 2006 01:37:34 +0000 (01:37 +0000)
committerKároly Lőrentey <lorentey@elte.hu>
Sun, 12 Mar 2006 01:37:34 +0000 (01:37 +0000)
src/ChangeLog
src/xfns.c

index 68178e2c4d3863cf74f6c2795b9df517a3e8f329..16565f77c0337a87c27a1f59490afaba7dbaf9e6 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-12  L\e$,1 q\e(Brentey K\e,Aa\e(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.
index 2ab185a3c2d335f218a9621341ec9663341c1f95..5d580c9a1f12a3d07df935c3dddfd3ae16e98a71 100644 (file)
@@ -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