From: Richard M. Stallman Date: Sun, 2 Jul 1995 02:36:32 +0000 (+0000) Subject: (x_set_icon_type, x_set_icon_name): Don't ever remap the X-Git-Tag: emacs-19.34~3389 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f20989276ec5126b5808e24b266224165d4e823;p=emacs.git (x_set_icon_type, x_set_icon_name): Don't ever remap the frame window; changing the icon doesn't make it disappear. --- diff --git a/src/xfns.c b/src/xfns.c index 3e32e3c82f0..1f399f5a9c4 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1474,16 +1474,6 @@ x_set_icon_type (f, arg, oldval) 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 @@ x_set_icon_name (f, arg, oldval) 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; }