Render after reading stdin

This allows seeing option list without doing any input, like in original dmenu.
This commit is contained in:
Mykyta Holubakha 2023-07-13 06:40:39 +03:00 committed by adnano
parent 62e9584977
commit ccca01d3cd

1
main.c
View file

@ -1166,6 +1166,7 @@ int main(int argc, char **argv) {
read_stdin(&state);
match(&state);
render_frame(&state);
struct pollfd fds[] = {
{ wl_display_get_fd(state.display), POLLIN },