all repos — openbox @ 5a8c164412077d221face60ceb13e33d13b16432

openbox fork - make it a bit more like ryudo

also dont increment the nicons if the w*h is 0
Dana Jansens danakj@orodu.net
commit

5a8c164412077d221face60ceb13e33d13b16432

parent

754391ea4d3db7564a39d561d9b50191a56ed751

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

jump to
M openbox/client.copenbox/client.c

@@ -1322,7 +1322,7 @@ while (num - i > 2) {

w = data[i++]; h = data[i++]; i += w * h; - if (i > num) break; + if (i > num || w*h == 0) break; ++self->nicons; }