aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathias <mathias>2005-04-22 11:25:07 (GMT)
committermathias <mathias>2005-04-22 11:25:07 (GMT)
commit0cc3391cec84e72b098170221c9b5c166ce94579 (patch)
treefcd1204399b5e6c450da499d51f1256e93d48ce2 /src
parent371e3f8a9150cf451b67435994faa9ad5a9b8b8d (diff)
downloadfluxbox_pavel-0cc3391cec84e72b098170221c9b5c166ce94579.zip
fluxbox_pavel-0cc3391cec84e72b098170221c9b5c166ce94579.tar.bz2
fixed a problem with iconified + sticky window not displayed in the iconbar
when running in WorkspaceIcons-mode
Diffstat (limited to 'src')
-rw-r--r--src/IconbarTool.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index baa4239..cea8c1a 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -846,7 +846,9 @@ void IconbarTool::updateIcons() {
846 for (; icon_it != icon_it_end; ++icon_it) { 846 for (; icon_it != icon_it_end; ++icon_it) {
847 if (mode() == ICONS) 847 if (mode() == ICONS)
848 itemlist.push_back(*icon_it); 848 itemlist.push_back(*icon_it);
849 else if (mode() == WORKSPACEICONS && (*icon_it)->workspaceNumber() == m_screen.currentWorkspaceID()) 849 else if (mode() == WORKSPACEICONS &&
850 ((*icon_it)->workspaceNumber() == m_screen.currentWorkspaceID() ||
851 (*icon_it)->isStuck()))
850 itemlist.push_back(*icon_it); 852 itemlist.push_back(*icon_it);
851 } 853 }
852 removeDuplicate(m_icon_list, itemlist); 854 removeDuplicate(m_icon_list, itemlist);