summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wayland-client.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wayland-client.c b/src/wayland-client.c
index de84698..efb7fe6 100644
--- a/src/wayland-client.c
+++ b/src/wayland-client.c
@@ -450,6 +450,11 @@ wl_display_iterate(struct wl_display *display, uint32_t mask)
}
len = wl_connection_data(display->connection, mask);
+
+ if (wl_debug && (mask & WL_DISPLAY_READABLE))
+ fprintf(stderr,
+ "[-----------] wakeup, read %d bytes\n", len);
+
while (len > 0) {
if (len < sizeof p)
break;