From 3ee68615c3a732d42ecdfc3a794209ebdd2331bb Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 7 Mar 2006 17:17:52 +0000 Subject: fix for stuck icons, thanks _markt --- src/IconbarTool.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index cbd42c4..3c219e7 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc @@ -910,7 +910,8 @@ void IconbarTool::updateWorkspace() { BScreen::Icons::iterator icon_it = m_screen.iconList().begin(); BScreen::Icons::iterator icon_it_end = m_screen.iconList().end(); for (; icon_it != icon_it_end; ++icon_it) { - if ((*icon_it)->workspaceNumber() == m_screen.currentWorkspaceID()) + if ((*icon_it)->workspaceNumber() == m_screen.currentWorkspaceID() || + (*icon_it)->isStuck()) itemlist.push_back(*icon_it); } } -- cgit v0.11.2