aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-17 23:34:01 (GMT)
committersimonb <simonb>2006-04-17 23:34:01 (GMT)
commitb9af026688f0945196582af5773d62f5df3f97f3 (patch)
treed97e66e4271480644f3ff2a2c0106730d1f714f4 /src/WinClient.cc
parent3e6def97d18133baf82b596cb742a2f7ef4f9f00 (diff)
downloadfluxbox_pavel-b9af026688f0945196582af5773d62f5df3f97f3.zip
fluxbox_pavel-b9af026688f0945196582af5773d62f5df3f97f3.tar.bz2
iconbutton handling fixes
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}