From 0cc3391cec84e72b098170221c9b5c166ce94579 Mon Sep 17 00:00:00 2001 From: mathias Date: Fri, 22 Apr 2005 11:25:07 +0000 Subject: fixed a problem with iconified + sticky window not displayed in the iconbar when running in WorkspaceIcons-mode --- ChangeLog | 4 ++++ src/IconbarTool.cc | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0b38ba6..afa701c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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() { 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); -- cgit v0.11.2