mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
wayland: wayl_init(): call wl_display_roundtrip() when done
This commit is contained in:
parent
291a928a49
commit
66b2097275
1 changed files with 3 additions and 2 deletions
|
|
@ -514,6 +514,9 @@ wayl_init(struct fdm *fdm)
|
|||
}
|
||||
|
||||
wayl->kbd.repeat.fd = timerfd_create(CLOCK_BOOTTIME, TFD_CLOEXEC | TFD_NONBLOCK);
|
||||
/* All wayland initialization done - make it so */
|
||||
wl_display_roundtrip(wayl->display);
|
||||
|
||||
if (wayl->kbd.repeat.fd == -1) {
|
||||
LOG_ERRNO("failed to create keyboard repeat timer FD");
|
||||
goto out;
|
||||
|
|
@ -540,8 +543,6 @@ wayl_init(struct fdm *fdm)
|
|||
goto out;
|
||||
}
|
||||
|
||||
//wl_display_dispatch_pending(wayl->display);
|
||||
//wl_display_flush(wayl->display);
|
||||
return wayl;
|
||||
|
||||
out:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue