all repos — openbox @ b0d81f77aa57a33f6c9e6428ffe89f7cc02258ed

openbox fork - make it a bit more like ryudo

proper order for the stacking order list
Dana Jansens danakj@orodu.net
commit

b0d81f77aa57a33f6c9e6428ffe89f7cc02258ed

parent

871602208a1874dcb3a8bfc4abdfc4d100a0ec57

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/Workspace.ccsrc/Workspace.cc

@@ -381,8 +381,8 @@ }

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); }