forked from speedie/spmenu
resize client
This commit is contained in:
parent
6673afc8b7
commit
8f8f267830
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue