multi-seat: re-enable scrollback search support

This commit is contained in:
Daniel Eklöf 2020-07-08 18:20:34 +02:00
parent 58415428cf
commit 04e566492c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 16 additions and 29 deletions

View file

@ -958,6 +958,7 @@ wayl_init(const struct config *conf, struct fdm *fdm)
goto out;
}
/* Trigger listeners registered when handling globals */
wl_display_roundtrip(wayl->display);
if (!wayl->have_argb8888) {
@ -976,9 +977,6 @@ wayl_init(const struct config *conf, struct fdm *fdm)
it->item.ppi.scaled.x, it->item.ppi.scaled.y);
}
#if 0
#endif
wayl->fd = wl_display_get_fd(wayl->display);
if (fcntl(wayl->fd, F_SETFL, fcntl(wayl->fd, F_GETFL) | O_NONBLOCK) < 0) {
LOG_ERRNO("failed to make Wayland socket non-blocking");