X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FWorkspace.cc;h=2aaf80eeb35f9a54b0b0260a47e97abe1909557a;hb=18064df19f670589b9387c194b55345c717473db;hp=309ea950f156b9c0e8945c6ff36a3ff750c6881e;hpb=eb136b9629b61d43c00c3cf105ff170fb8c75ad1;p=chaz%2Fopenbox diff --git a/src/Workspace.cc b/src/Workspace.cc index 309ea950..2aaf80ee 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -320,12 +320,6 @@ void Workspace::reconfigure(void) { } -void Workspace::updateFocusModel(void) { - std::for_each(windowList.begin(), windowList.end(), - std::mem_fun(&BlackboxWindow::updateFocusModel)); -} - - BlackboxWindow *Workspace::getWindow(unsigned int index) { if (index < windowList.size()) { BlackboxWindowList::iterator it = windowList.begin(); @@ -381,8 +375,8 @@ unsigned int Workspace::getCount(void) const { void Workspace::appendStackOrder(BlackboxWindowList &stack_order) const { - BlackboxWindowList::const_iterator it = stackingList.begin(); - const BlackboxWindowList::const_iterator end = stackingList.end(); + BlackboxWindowList::const_reverse_iterator it = stackingList.rbegin(); + const BlackboxWindowList::const_reverse_iterator end = stackingList.rend(); for (; it != end; ++it) stack_order.push_back(*it); }