diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-01-15 23:06:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-15 23:06:13 -0500 |
commit | bcb58b5caa203a5651a2a24d2038117a728348e7 (patch) | |
tree | 4611d2f398409793ae6b62d624afe848f0e21983 /examples/idle.c | |
parent | b331c5c2c5cbb94df66789e52ab87598647e0056 (diff) | |
parent | 264ef0c261db998ada651984136776fd336c4a72 (diff) |
Merge pull request #567 from Timidger/example-logging
Fixed logging for examples
Diffstat (limited to 'examples/idle.c')
-rw-r--r-- | examples/idle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/idle.c b/examples/idle.c index e5e01f63..57c366d1 100644 --- a/examples/idle.c +++ b/examples/idle.c @@ -7,6 +7,7 @@ #include <wayland-client.h> #include <wayland-client-protocol.h> #include <idle-client-protocol.h> +#include <wlr/util/log.h> static struct org_kde_kwin_idle *idle_manager = NULL; static struct wl_seat *seat = NULL; @@ -108,6 +109,7 @@ void *main_loop(void *data) { } int main(int argc, char *argv[]) { + wlr_log_init(L_DEBUG, NULL); if (parse_args(argc, argv) != 0) { return -1; |