]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_wm_set_icon_pixmap): Set IconPixmapHint in both cases.
authorKarl Heuer <kwzh@gnu.org>
Mon, 5 Jun 1995 17:39:17 +0000 (17:39 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 5 Jun 1995 17:39:17 +0000 (17:39 +0000)
src/xterm.c

index eef6efd152c069702491d798c7ccd8c1e2ea39ff..0881067392c4c3554e036dc9044248aa7dc622ea 100644 (file)
@@ -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);
 }