aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-03-07 17:17:52 (GMT)
committerfluxgen <fluxgen>2006-03-07 17:17:52 (GMT)
commit3ee68615c3a732d42ecdfc3a794209ebdd2331bb (patch)
tree6176ce7049413e323bb35e3785187531fc551393 /src/IconbarTool.cc
parentb366d9c498815a432f8fa96af64e54ee3c6e8849 (diff)
downloadfluxbox_paul-3ee68615c3a732d42ecdfc3a794209ebdd2331bb.zip
fluxbox_paul-3ee68615c3a732d42ecdfc3a794209ebdd2331bb.tar.bz2
fix for stuck icons, thanks _markt
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc3
1 files changed, 2 insertions, 1 deletions
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() {
910 BScreen::Icons::iterator icon_it = m_screen.iconList().begin(); 910 BScreen::Icons::iterator icon_it = m_screen.iconList().begin();
911 BScreen::Icons::iterator icon_it_end = m_screen.iconList().end(); 911 BScreen::Icons::iterator icon_it_end = m_screen.iconList().end();
912 for (; icon_it != icon_it_end; ++icon_it) { 912 for (; icon_it != icon_it_end; ++icon_it) {
913 if ((*icon_it)->workspaceNumber() == m_screen.currentWorkspaceID()) 913 if ((*icon_it)->workspaceNumber() == m_screen.currentWorkspaceID() ||
914 (*icon_it)->isStuck())
914 itemlist.push_back(*icon_it); 915 itemlist.push_back(*icon_it);
915 } 916 }
916 } 917 }