From 6f20989276ec5126b5808e24b266224165d4e823 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 2 Jul 1995 02:36:32 +0000 Subject: [PATCH] (x_set_icon_type, x_set_icon_name): Don't ever remap the frame window; changing the icon doesn't make it disappear. --- src/xfns.c | 20 -------------------- 1 file changed, 20 deletions(-) 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; } -- 2.39.2