aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index b1187a0..056013a 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -484,6 +484,16 @@ void WinClient::updateWMHints() {
484 } else 484 } else
485 window_group = None; 485 window_group = None;
486 486
487 if ((bool)(wmhint->flags & IconPixmapHint) && wmhint->icon_pixmap != 0)
488 m_icon_pixmap.copy(wmhint->icon_pixmap, 0, 0);
489 else
490 m_icon_pixmap = 0;
491
492 if ((bool)(wmhint->flags & IconMaskHint) && wmhint->icon_mask != 0)
493 m_icon_mask.copy(wmhint->icon_mask, 0, 0);
494 else
495 m_icon_mask = 0;
496
487 XFree(wmhint); 497 XFree(wmhint);
488 } 498 }
489} 499}