main: log (at debug level) global interfaces and their versions

This commit is contained in:
Daniel Eklöf 2019-09-24 19:43:43 +02:00
parent d2bfb0c97c
commit b0d5af51d0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
main.c
View file

@ -199,7 +199,7 @@ static void
handle_global(void *data, struct wl_registry *registry,
uint32_t name, const char *interface, uint32_t version)
{
//LOG_DBG("global: %s", interface);
LOG_DBG("global: %s, version=%u", interface, version);
struct terminal *term = data;
if (strcmp(interface, wl_compositor_interface.name) == 0) {