commit 6d72663e9fcc44d229709beac2924c8ed96d6ad2
parent 81822db61acc0b67bb48ce44a2e2a6930e5093d9
Author: hhvn <dev@hhvn.uk>
Date: Thu, 11 Nov 2021 20:03:46 +0000
main.c: do not refresh hidden windows
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -284,7 +284,7 @@ main(int argc, char **argv) {
refreshed = inputrefreshed = 0;
for (i=0; i < Win_last; i++) {
- if (windows[i].redraw) {
+ if (windows[i].redraw && windows[i].location) {
if (windows[i].handler)
windows[i].handler();
wnoutrefresh(windows[i].window);