mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-15 22:05:24 -05:00
main: hopefully fix logical error in delayed rendering
We want the timeout_ms to *not* be -1 (i.e. someone has requested delayed rendering), while we're *not* getting client output.
This commit is contained in:
parent
18c61a9a2a
commit
94fdde3da7
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -495,7 +495,7 @@ main(int argc, char *const *argv)
|
|||
break;
|
||||
}
|
||||
|
||||
if (ret == 0 || !(timeout_ms != -1 && fds[1].revents & POLLIN)) {
|
||||
if (ret == 0 || (timeout_ms != -1 && !(fds[1].revents & POLLIN))) {
|
||||
/* Delayed rendering */
|
||||
if (term.frame_callback == NULL)
|
||||
grid_render(&term);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue