# HG changeset patch # User Richard M. Stallman # Date 804652592 0 # Node ID a5cfab57f3e5126e0dcce48bd1142d80118493dc # Parent bec888e46e6ab447c3e333b4e27f9787f0b2524f (x_set_icon_type, x_set_icon_name): Don't ever remap the frame window; changing the icon doesn't make it disappear. diff -r bec888e46e6a -r a5cfab57f3e5 src/xfns.c --- 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; }