From ccca01d3cd6b7cc13cd9d65896f6d577acf7eee7 Mon Sep 17 00:00:00 2001 From: Mykyta Holubakha Date: Thu, 13 Jul 2023 06:40:39 +0300 Subject: Render after reading stdin This allows seeing option list without doing any input, like in original dmenu. --- main.c | 1 + 1 file changed, 1 insertion(+) 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 }, -- cgit v1.2.3