all repos — openbox @ ff3d12175eca1f886fe07fafaa5642fefe30cef8

openbox fork - make it a bit more like ryudo

when updating the client menu for windows that aren't in the client menu, just ignore the request gracefully
Dana Jansens danakj@orodu.net
commit

ff3d12175eca1f886fe07fafaa5642fefe30cef8

parent

175a7e5d1c738c70ec157c05b5de9d404cfe2df5

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

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

@@ -982,6 +982,6 @@

void Basemenu::changeItemLabel(unsigned int index, const string& label) { BasemenuItem *item = find(index); - assert(item); - item->newLabel(label); + if (item) + item->newLabel(label); }