resize client

This commit is contained in:
speedie 2023-05-07 18:07:02 +02:00
parent 6673afc8b7
commit 8f8f267830

View file

@ -105,7 +105,7 @@ void readfile(void) {
} }
inputw = items ? TEXTWM(items[i].text) : 0; inputw = items ? TEXTWM(items[i].text) : 0;
lines = MIN(lines, i); lines = i;
if (!o) longestedge = imagegaps = 0; if (!o) longestedge = imagegaps = 0;
@ -116,6 +116,8 @@ void readfile(void) {
olistcount = listcount; olistcount = listcount;
listcount = i; listcount = i;
listchanged = 1; listchanged = 1;
resizeclient();
} }
} else { } else {
free(items); free(items);