mew

desc
git clone https://git.awy.one/mew.git
Log | Files | Refs | README | LICENSE

commit f0930f824c3e055f871349971244fbaf67e25a0c
parent d754e71ce410ed3450983cd6c78785b51cc1c29a
Author: sewn <sewn@disroot.org>
Date:   Mon, 21 Oct 2024 20:36:40 +0300

add missing roundtrip, fixes #15

Diffstat:
Mmew.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mew.c b/mew.c @@ -923,8 +923,7 @@ run(void) { kbd.repeat.timer, POLLIN }, }; - match(); - + running = 1; while (running) { if (wl_display_prepare_read(display) < 0) if (wl_display_dispatch_pending(display) < 0) @@ -999,7 +998,8 @@ setup(void) zwlr_layer_surface_v1_add_listener(layer_surface, &layer_surface_listener, NULL); wl_surface_commit(surface); - running = 1; + wl_display_roundtrip(display); /* mysteriously required */ + match(); } static void