diff options
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r-- | src/IconbarTool.cc | 4 |
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); |