changeset 12470:a5cfab57f3e5

(x_set_icon_type, x_set_icon_name): Don't ever remap the frame window; changing the icon doesn't make it disappear.
author Richard M. Stallman <rms@gnu.org>
date Sun, 02 Jul 1995 02:36:32 +0000
parents bec888e46e6a
children a188da6410e4
files src/xfns.c
diffstat 1 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Sun Jul 02 00:08:34 1995 +0000
+++ b/src/xfns.c	Sun Jul 02 02:36:32 1995 +0000
@@ -1474,16 +1474,6 @@
       error ("No icon window available");
     }
 
-  /* If the window was unmapped (and its icon was mapped),
-     the new icon is not mapped, so map the window in its stead.  */
-  if (FRAME_VISIBLE_P (f))
-    {
-#ifdef USE_X_TOOLKIT
-      XtPopup (f->display.x->widget, XtGrabNone);
-#endif
-      XMapWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f));
-    }
-
   XFlush (FRAME_X_DISPLAY (f));
   UNBLOCK_INPUT;
 }
@@ -1537,16 +1527,6 @@
       error ("No icon window available");
     }
 
-  /* If the window was unmapped (and its icon was mapped),
-     the new icon is not mapped, so map the window in its stead.  */
-  if (FRAME_VISIBLE_P (f))
-    {
-#ifdef USE_X_TOOLKIT
-      XtPopup (f->display.x->widget, XtGrabNone);
-#endif
-      XMapWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f));
-    }
-
   XFlush (FRAME_X_DISPLAY (f));
   UNBLOCK_INPUT;
 }