fixed a problem with iconified + sticky window not displayed in the iconbar

when running in WorkspaceIcons-mode
This commit is contained in:
mathias 2005-04-22 11:25:07 +00:00
parent 371e3f8a91
commit 0cc3391cec
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,9 @@
(Format: Year/Month/Day)
Changes for 0.9.13
*05/04/22:
* fixed Iconified+Sticky Windows not shown in Iconbar (Mathias)
(when in WorkspaceIcons-Mode
IconbarTool.cc
*05/04/21:
* Fixed iconv-issues on *BSD/MacOSX (Mathias)
configure.in

View file

@ -846,7 +846,9 @@ void IconbarTool::updateIcons() {
for (; icon_it != icon_it_end; ++icon_it) {
if (mode() == ICONS)
itemlist.push_back(*icon_it);
else if (mode() == WORKSPACEICONS && (*icon_it)->workspaceNumber() == m_screen.currentWorkspaceID())
else if (mode() == WORKSPACEICONS &&
((*icon_it)->workspaceNumber() == m_screen.currentWorkspaceID() ||
(*icon_it)->isStuck()))
itemlist.push_back(*icon_it);
}
removeDuplicate(m_icon_list, itemlist);