Render after reading stdin
This allows seeing option list without doing any input, like in original dmenu.
This commit is contained in:
parent
62e9584977
commit
ccca01d3cd
1 changed files with 1 additions and 0 deletions
1
main.c
1
main.c
|
@ -1166,6 +1166,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
read_stdin(&state);
|
read_stdin(&state);
|
||||||
match(&state);
|
match(&state);
|
||||||
|
render_frame(&state);
|
||||||
|
|
||||||
struct pollfd fds[] = {
|
struct pollfd fds[] = {
|
||||||
{ wl_display_get_fd(state.display), POLLIN },
|
{ wl_display_get_fd(state.display), POLLIN },
|
||||||
|
|
Loading…
Add table
Reference in a new issue