changeset 12079:f6e8c75cca52

(x_wm_set_icon_pixmap): Set IconPixmapHint in both cases.
author Karl Heuer <kwzh@gnu.org>
date Mon, 05 Jun 1995 17:39:17 +0000
parents eb9f9e9cd522
children 862907031e94
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Jun 05 17:36:29 1995 +0000
+++ b/src/xterm.c	Mon Jun 05 17:39:17 1995 +0000
@@ -5518,14 +5518,11 @@
     {
       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);
 }