all repos — openbox @ 0116e2c4492f18a6b04b5ccf69bf9fd4e9abea7c

openbox fork - make it a bit more like ryudo

dont use what could be an invalid iterator
Dana Jansens danakj@orodu.net
commit

0116e2c4492f18a6b04b5ccf69bf9fd4e9abea7c

parent

da8d6b3f60a3eb39ca47cfcb9aa5b2f445050102

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

jump to
M util/epist/screen.ccutil/epist/screen.cc

@@ -546,8 +546,9 @@ /* if we're not cycling and a window gets focus, add it to the top of the

* cycle stack. */ if (_stacked_cycling && !_cycling) { - _clients.remove(*_active); - _clients.push_front(*_active); + XWindow *win = *_active; + _clients.remove(win); + _clients.push_front(win); _active = _clients.begin(); }