From baf540d69ccfd95b8721f79767907da99820ec26 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 5 Jun 1995 17:39:17 +0000 Subject: [PATCH] (x_wm_set_icon_pixmap): Set IconPixmapHint in both cases. --- src/xterm.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index eef6efd152c..0881067392c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -5518,14 +5518,11 @@ x_wm_set_icon_pixmap (f, pixmap_id) { Pixmap icon_pixmap = x_bitmap_pixmap (f, pixmap_id); f->display.x->wm_hints.icon_pixmap = icon_pixmap; - f->display.x->wm_hints.flags |= IconPixmapHint; } else - { - f->display.x->wm_hints.icon_pixmap = None; - f->display.x->wm_hints.flags &= ~IconPixmapHint; - } + f->display.x->wm_hints.icon_pixmap = None; + f->display.x->wm_hints.flags |= IconPixmapHint; XSetWMHints (FRAME_X_DISPLAY (f), window, &f->display.x->wm_hints); } -- 2.39.2