diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 7 |
1 files 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) | |||
| 5518 | { | 5518 | { |
| 5519 | Pixmap icon_pixmap = x_bitmap_pixmap (f, pixmap_id); | 5519 | Pixmap icon_pixmap = x_bitmap_pixmap (f, pixmap_id); |
| 5520 | f->display.x->wm_hints.icon_pixmap = icon_pixmap; | 5520 | f->display.x->wm_hints.icon_pixmap = icon_pixmap; |
| 5521 | f->display.x->wm_hints.flags |= IconPixmapHint; | ||
| 5522 | } | 5521 | } |
| 5523 | else | 5522 | else |
| 5524 | { | 5523 | f->display.x->wm_hints.icon_pixmap = None; |
| 5525 | f->display.x->wm_hints.icon_pixmap = None; | ||
| 5526 | f->display.x->wm_hints.flags &= ~IconPixmapHint; | ||
| 5527 | } | ||
| 5528 | 5524 | ||
| 5525 | f->display.x->wm_hints.flags |= IconPixmapHint; | ||
| 5529 | XSetWMHints (FRAME_X_DISPLAY (f), window, &f->display.x->wm_hints); | 5526 | XSetWMHints (FRAME_X_DISPLAY (f), window, &f->display.x->wm_hints); |
| 5530 | } | 5527 | } |
| 5531 | 5528 | ||