aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2023-07-13 06:40:39 +0300
committeradnano <me@adnano.co>2023-07-15 18:35:17 -0400
commitccca01d3cd6b7cc13cd9d65896f6d577acf7eee7 (patch)
treef44e8a754ba69fbf4aefe209072259c2ba9493eb
parent62e9584977639782d1d9288d8220069595e34ddc (diff)
downloadwmenu-ccca01d3cd6b7cc13cd9d65896f6d577acf7eee7.tar.gz
Render after reading stdin
This allows seeing option list without doing any input, like in original dmenu.
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 99620fd..f430087 100644
--- a/main.c
+++ b/main.c
@@ -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 },