all repos — openbox @ 86af1224bd80ed987f9c2389efa9bf9744ebada8

openbox fork - make it a bit more like ryudo

dont assert for focusing !isNormal() windows
Dana Jansens danakj@orodu.net
commit

86af1224bd80ed987f9c2389efa9bf9744ebada8

parent

5ec63388b8fbbdffc0999ba727ad718f87d683fc

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

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

@@ -231,9 +231,10 @@ int i;

for (i = 0, it = windowList.begin(); it != end; ++it, ++i) if (*it == w) break; - assert(it != end); - - clientmenu->setItemSelected(i, focused); + // if its == end, then a window thats not in the windowList + // got focused, such as a !isNormal() window. + if (it != end) + clientmenu->setItemSelected(i, focused); }