mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-05 01:40:41 -05:00
render: call wl_display_flush() after rendering
This allows us to remove that call from the main event loop.
This commit is contained in:
parent
b793919aba
commit
291a928a49
2 changed files with 2 additions and 1 deletions
1
main.c
1
main.c
|
|
@ -147,7 +147,6 @@ main(int argc, char *const *argv)
|
|||
goto out;
|
||||
|
||||
while (tll_length(wayl->terms) > 0) {
|
||||
wl_display_flush(wayl->display); /* TODO: figure out how to get rid of this */
|
||||
|
||||
if (!fdm_poll(fdm))
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue