Commit 6f209892 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_set_icon_type, x_set_icon_name): Don't ever remap the

frame window; changing the icon doesn't make it disappear.
parent 7f07d5ca
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment