also dont increment the nicons if the w*h is 0
This commit is contained in:
parent
754391ea4d
commit
5a8c164412
1 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,7 @@ void client_update_icons(Client *self)
|
|||
w = data[i++];
|
||||
h = data[i++];
|
||||
i += w * h;
|
||||
if (i > num) break;
|
||||
if (i > num || w*h == 0) break;
|
||||
++self->nicons;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue