From: Karl Heuer Date: Mon, 5 Jun 1995 17:39:17 +0000 (+0000) Subject: (x_wm_set_icon_pixmap): Set IconPixmapHint in both cases. X-Git-Tag: emacs-19.34~3779 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=baf540d69ccfd95b8721f79767907da99820ec26;p=emacs.git (x_wm_set_icon_pixmap): Set IconPixmapHint in both cases. --- 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); }