diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2023-07-13 06:40:39 +0300 |
---|---|---|
committer | adnano <me@adnano.co> | 2023-07-15 18:35:17 -0400 |
commit | ccca01d3cd6b7cc13cd9d65896f6d577acf7eee7 (patch) | |
tree | f44e8a754ba69fbf4aefe209072259c2ba9493eb | |
parent | 62e9584977639782d1d9288d8220069595e34ddc (diff) | |
download | wmenu-ccca01d3cd6b7cc13cd9d65896f6d577acf7eee7.tar.gz |
Render after reading stdin
This allows seeing option list without doing any input, like in original dmenu.
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 }, |