Cage: add debug print for Wayland socket

This commit is contained in:
Jente Hidskes 2019-01-17 21:46:32 +01:00
parent 14aadbca1b
commit 2c5b3c5ad0
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA

2
cage.c
View file

@ -222,6 +222,8 @@ main(int argc, char *argv[])
if (rc < 0) {
wlr_log_errno(WLR_ERROR, "Unable to set WAYLAND_DISPLAY.",
"Clients may not be able to connect");
} else {
wlr_log(WLR_DEBUG, "Cage is running on Wayland display %s", socket);
}
#if CAGE_HAS_XWAYLAND