Render after reading stdin - wmenu - 🔧 fork of wmenu
(HTM) git clone git@git.drkhsh.at/wmenu.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit ccca01d3cd6b7cc13cd9d65896f6d577acf7eee7
(DIR) parent 62e9584977639782d1d9288d8220069595e34ddc
(HTM) Author: Mykyta Holubakha <hilobakho@gmail.com>
Date: Thu, 13 Jul 2023 06:40:39 +0300
Render after reading stdin
This allows seeing option list without doing any input, like in original dmenu.
Diffstat:
M main.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git 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 },