add missing roundtrip, fixes #15
This commit is contained in:
parent
d754e71ce4
commit
f0930f824c
1 changed files with 3 additions and 3 deletions
6
mew.c
6
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue