int check_events(struct wl::display *d, struct conn *c, int fd) {
struct pollfd pfd[2] = {{.fd = d->get_fd(), .events = POLLIN, .revents = 0},
{.fd = fd, .events = POLLIN, .revents = 0}};
int check_events(struct wl::display *d, struct conn *c, int fd) {
struct pollfd pfd[2] = {{.fd = d->get_fd(), .events = POLLIN, .revents = 0},
{.fd = fd, .events = POLLIN, .revents = 0}};