diff options
Diffstat (limited to 'wayland.c')
| -rw-r--r-- | wayland.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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"); |
