]> Dogcows Code - chaz/openbox/commitdiff
proper order for the stacking order list
authorDana Jansens <danakj@orodu.net>
Fri, 28 Jun 2002 04:27:49 +0000 (04:27 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 28 Jun 2002 04:27:49 +0000 (04:27 +0000)
src/Workspace.cc

index 309ea950f156b9c0e8945c6ff36a3ff750c6881e..60efba1e3845badb92d84e937b1b09f8346ce3ac 100644 (file)
@@ -381,8 +381,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);
 }
This page took 0.022854 seconds and 4 git commands to generate.